From 06fdf730431a16ddd9022335dcb85471c0e95eca Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 5 Oct 2015 17:30:37 +0200 Subject: [PATCH] [VarDumper] Add missing getDump in abstract VarDumperTestCase --- src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php index 006c1dc7a8f6c..3c8593a8c34a4 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php @@ -21,15 +21,15 @@ abstract class VarDumperTestCase extends \PHPUnit_Framework_TestCase { public function assertDumpEquals($dump, $data, $message = '') { - $this->assertSame(rtrim($dump), $this->getVarDumperDump($data), $message); + $this->assertSame(rtrim($dump), $this->getDump($data), $message); } public function assertDumpMatchesFormat($dump, $data, $message = '') { - $this->assertStringMatchesFormat(rtrim($dump), $this->getVarDumperDump($data), $message); + $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message); } - private function getVarDumperDump($data) + private function getDump($data) { $h = fopen('php://memory', 'r+b'); $cloner = new VarCloner(); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy