From 48a9e83e4b4139ffabbb9bb3fc4e20a4d0d5d485 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 6 Oct 2015 15:40:15 +0200 Subject: [PATCH] consistent signature of getDump() in class + trait --- src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php | 2 +- src/Symfony/Component/VarDumper/Test/VarDumperTestTrait.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();