Skip to content

Commit a0091fa

Browse files
Merge branch '4.4'
* 4.4: [4.3] Remove unused local variables
2 parents dc331c6 + fd4b79b commit a0091fa

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
@@ -937,8 +937,6 @@ private function registerAssetsConfiguration(array $config, ContainerBuilder $co
937937
{
938938
$loader->load('assets.xml');
939939

940-
$defaultVersion = null;
941-
942940
if ($config['version_strategy']) {
943941
$defaultVersion = new Reference($config['version_strategy']);
944942
} else {

Routing/DelegatingLoader.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ public function load($resource, string $type = null)
8181
continue;
8282
}
8383

84-
if (1 === substr_count($controller, ':')) {
85-
$nonDeprecatedNotation = str_replace(':', '::', $controller);
86-
// TODO deprecate this in 5.1
87-
}
88-
8984
$route->setDefault('_controller', $controller);
9085
}
9186

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)