Skip to content

Commit f93b420

Browse files
committed
[4.3] Remove unused local variables
1 parent 4d32d14 commit f93b420

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,6 @@ private function registerAssetsConfiguration(array $config, ContainerBuilder $co
997997
{
998998
$loader->load('assets.xml');
999999

1000-
$defaultVersion = null;
1001-
10021000
if ($config['version_strategy']) {
10031001
$defaultVersion = new Reference($config['version_strategy']);
10041002
} else {

Routing/DelegatingLoader.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ public function load($resource, $type = null)
9898
}
9999
}
100100

101-
if (1 === substr_count($controller, ':')) {
102-
$nonDeprecatedNotation = str_replace(':', '::', $controller);
103-
// TODO deprecate this in 5.1
104-
}
105-
106101
$route->setDefault('_controller', $controller);
107102
}
108103

Tests/Functional/ContainerDumpTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class ContainerDumpTest extends AbstractWebTestCase
1818
{
1919
public function testContainerCompilationInDebug()
2020
{
21-
$client = $this->createClient(['test_case' => 'ContainerDump', 'root_config' => 'config.yml']);
21+
$this->createClient(['test_case' => 'ContainerDump', 'root_config' => 'config.yml']);
2222

2323
$this->assertTrue(static::$container->has('serializer'));
2424
}
2525

2626
public function testContainerCompilation()
2727
{
28-
$client = $this->createClient(['test_case' => 'ContainerDump', 'root_config' => 'config.yml', 'debug' => false]);
28+
$this->createClient(['test_case' => 'ContainerDump', 'root_config' => 'config.yml', 'debug' => false]);
2929

3030
$this->assertTrue(static::$container->has('serializer'));
3131
}

0 commit comments

Comments
 (0)