[VarDumper] fix tests when xdebug is enabled

This commit is contained in:
ShinDarth 2016-12-06 16:01:27 +01:00 committed by Nicolas Grekas
parent 777fda319d
commit 488ebbfe5d
1 changed files with 4 additions and 0 deletions

View File

@ -137,6 +137,10 @@ EOTXT;
public function testJsonCast()
{
if (ini_get('xdebug.overload_var_dump') == 2) {
$this->markTestSkipped('xdebug is active');
}
$data = (array) json_decode('{"1":{}}');
$cloner = new VarCloner();