Skip to content

Commit e8cedcd

Browse files
minor #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 #61492 I wonder if we don't have to add the new tag to this list Commits ------- 593ee8f45e5 add routing.controller to the list of known DI tags
2 parents 5f5fd9a + 1a7b2cf commit e8cedcd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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',

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)