Skip to content

Commit bb46d95

Browse files
author
Hugo Hamon
committed
[DependencyInjection] removed dead code.
1 parent 596ca65 commit bb46d95

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)