diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php index 3c8593a8c3..cc3e503ef6 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php @@ -29,7 +29,7 @@ abstract class VarDumperTestCase extends \PHPUnit_Framework_TestCase $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message); } - private function getDump($data) + protected function getDump($data) { $h = fopen('php://memory', 'r+b'); $cloner = new VarCloner(); diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php index 325545648d..e5f6bf5b98 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php @@ -29,7 +29,7 @@ trait VarDumperTestTrait $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message); } - public function getDump($data) + protected function getDump($data) { $h = fopen('php://memory', 'r+b'); $cloner = new VarCloner();