8000 minor #16126 [VarDumper] Add missing getDump in abstract VarDumperTes… · symfony/symfony@3cd5628 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3cd5628

Browse files
committed
minor #16126 [VarDumper] Add missing getDump in abstract VarDumperTestCase (nicolas-grekas)
This PR was merged into the 2.8 branch. Discussion ---------- [VarDumper] Add missing getDump in abstract VarDumperTestCase | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #16063 | License | MIT | Doc PR | - Just a miss in #16063 Commits ------- 06fdf73 [VarDumper] Add missing getDump in abstract VarDumperTestCase
2 parents e7888a1 + 06fdf73 commit 3cd5628

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ abstract class VarDumperTestCase extends \PHPUnit_Framework_TestCase
2121
{
2222
public function assertDumpEquals($dump, $data, $message = '')
2323
{
24-
$this->assertSame(rtrim($dump), $this->getVarDumperDump($data), $message);
24+
$this->assertSame(rtrim($dump), $this->getDump($data), $message);
2525
}
2626

2727
public function assertDumpMatchesFormat($dump, $data, $message = '')
2828
{
29-
$this->assertStringMatchesFormat(rtrim($dump), $this->getVarDumperDump($data), $message);
29+
$this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message);
3030
}
3131

32-
private function getVarDumperDump($data)
32+
private function getDump($data)
3333
{
3434
$h = fopen('php://memory', 'r+b');
3535
$cloner = new VarCloner();

0 commit comments

Comments
 (0)
0