Skip to content

Commit a68f09e

Browse files
committed
minor #13938 [DependencyInjection] remove unused code (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [DependencyInjection] remove unused code | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 8529719 remove unused code
2 parents d50f0a8 + 8529719 commit a68f09e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Symfony/Component/DependencyInjection/Tests/Dumper/XmlDumperTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ public static function setUpBeforeClass()
2525

2626
public function testDump()
2727
{
28-
$dumper = new XmlDumper($container = new ContainerBuilder());
28+
$dumper = new XmlDumper(new ContainerBuilder());
2929

3030
$this->assertXmlStringEqualsXmlFile(self::$fixturesPath.'/xml/services1.xml', $dumper->dump(), '->dump() dumps an empty container as an empty XML file');
31-
32-
$container = new ContainerBuilder();
33-
$dumper = new XmlDumper($container);
3431
}
3532

3633
public function testExportParameters()

0 commit comments

Comments
 (0)