Skip to content

Commit d5e353f

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [SecurityBundle] only pass relevant user provider [Intl] Make tests pass after the ICU data update [Intl] Update ICU data to 58.2 [DependencyInjection] removed dead code. [Yaml] Stop replacing NULLs when merging
2 parents c2202bb + bb46d95 commit d5e353f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Tests/Dumper/PhpDumperTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,10 @@ public static function setUpBeforeClass()
3434

3535
public function testDump()
3636
{
37-
$dumper = new PhpDumper($container = new ContainerBuilder());
37+
$dumper = new PhpDumper(new ContainerBuilder());
3838

3939
$this->assertStringEqualsFile(self::$fixturesPath.'/php/services1.php', $dumper->dump(), '->dump() dumps an empty container as an empty PHP class');
4040
$this->assertStringEqualsFile(self::$fixturesPath.'/php/services1-1.php', $dumper->dump(array('class' => 'Container', 'base_class' => 'AbstractContainer', 'namespace' => 'Symfony\Component\DependencyInjection\Dump')), '->dump() takes a class and a base_class options');
41-
42-
$container = new ContainerBuilder();
43-
new PhpDumper($container);
4441
}
4542

4643
public function testDumpOptimizationString()

0 commit comments

Comments
 (0)