Skip to content

Commit 488ebbf

Browse files
FrancescoBorzinicolas-grekas
authored andcommitted
[VarDumper] fix tests when xdebug is enabled
1 parent 777fda3 commit 488ebbf

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)