Skip to content

Commit b0f0bdf

Browse files
minor symfony#61530 [DependencyInjection] add routing.controller to the list of known DI tags (xabbuh)
This PR was merged into the 7.4 branch. Discussion ---------- [DependencyInjection] add routing.controller to the list of known DI tags | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT re-reading symfony#61492 I wonder if we don't have to add the new tag to this list Commits ------- 593ee8f add routing.controller to the list of known DI tags
2 parents 5d3f8f4 + 593ee8f commit b0f0bdf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class UnusedTagsPass implements CompilerPassInterface
7878
'proxy',
7979
'remote_event.consumer',
8080
'routing.condition_service',
81+
'routing.controller',
8182
'routing.expression_language_function',
8283
'routing.expression_language_provider',
8384
'routing.loader',

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/UnusedTagsPassUtils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public static function getDefinedTags(): array
1919
{
2020
$tags = [
2121
'proxy' => true,
22+
'routing.controller' => true,
2223
];
2324

2425
// get all tags used in XML configs

0 commit comments

Comments
 (0)