8000 [VarDumper] Ingore PHPUnit and Prophecy object when they are nested · symfony/symfony@df8bd14 · GitHub
[go: up one dir, main page]

Skip to content

Commit df8bd14

Browse files
committed
[VarDumper] Ingore PHPUnit and Prophecy object when they are nested
1 parent 564c8e1 commit df8bd14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ abstract class AbstractCloner implements ClonerInterface
6969
'Symfony\Component\DependencyInjection\ContainerInterface' => 'Symfony\Component\VarDumper\Caster\StubCaster::cutInternals',
7070
'Symfony\Component\VarDumper\Exception\ThrowingCasterException' => 'Symfony\Component\VarDumper\Caster\ExceptionCaster::castThrowingCasterException',
7171

72+
'PHPUnit_Framework_MockObject_MockObject' => 'Symfony\Component\VarDumper\Caster\StubCaster::cutInternals',
73+
'PHPUnit_Framework_MockObject_Stub' => 'Symfony\Component\VarDumper\Caster\StubCaster::cutInternals',
74+
'Prophecy\Prophecy\ProphecySubjectInterface' => 'Symfony\Component\VarDumper\Caster\StubCaster::cutInternals',
75+
'Mockery\MockInterface' => 'Symfony\Component\VarDumper\Caster\StubCaster::cutInternals',
76+
7277
'PDO' => 'Symfony\Component\VarDumper\Caster\PdoCaster::castPdo',
7378
'PDOStatement' => 'Symfony\Component\VarDumper\Caster\PdoCaster::castPdoStatement',
7479

0 commit comments

Comments
 (0)
0