Skip to content

Commit 2cc4e7c

Browse files
committed
minor #17145 Do not use HttpKernel Extension when not needed (Tobion)
This PR was merged into the 2.3 branch. Discussion ---------- Do not use HttpKernel Extension when not needed | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - HttpKernel Extension only adds `addClassesToCompile`. So the class hierarchy should be slim if it's not used. Commits ------- 4978e19 Do not use HttpKernel Extension when not needed
2 parents 41acf11 + ee4cad3 commit 2cc4e7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Fixtures/ExtensionLoadedBundle/DependencyInjection/ExtensionLoadedExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionLoadedBundle\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\ContainerBuilder;
15-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
15+
use Symfony\Component\DependencyInjection\Extension\Extension;
1616

1717
class ExtensionLoadedExtension extends Extension
1818
{

Tests/Fixtures/ExtensionPresentBundle/DependencyInjection/ExtensionPresentExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\DependencyInjection;
1313

1414
use Symfony\Component\DependencyInjection\ContainerBuilder;
15-
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
15+
use Symfony\Component\DependencyInjection\Extension\Extension;
1616

1717
class ExtensionPresentExtension extends Extension
1818
{

0 commit comments

Comments
 (0)