8000 minor #20785 [VarDumper] fix tests when xdebug is enabled (ShinDarth) · symfony/symfony@e59ae4d · GitHub
[go: up one dir, main page]

Skip to content

Commit e59ae4d

Browse files
minor #20785 [VarDumper] fix tests when xdebug is enabled (ShinDarth)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #20785). Discussion ---------- [VarDumper] fix tests when xdebug is enabled | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20778 | License | MIT - Disabled some test cases when xdebug is enabled, see #20778 Commits ------- 488ebbf [VarDumper] fix tests when xdebug is enabled
2 parents 777fda3 + 488ebbf commit e59ae4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/VarDumper/Tests/VarClonerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ public function testClone()
137137

138138
public function testJsonCast()
139139
{
140+
if (ini_get('xdebug.overload_var_dump') == 2) {
141+
$this->markTestSkipped('xdebug is active');
142+
}
143+
140144
$data = (array) json_decode('{"1":{}}');
141145

142146
$cloner = new VarCloner();

0 commit comments

Comments
 (0)
0