Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea0f681

Browse files
committed
Move non removing compiler passes to after removing passes
1 parent 393f9ae commit ea0f681

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/DependencyInjection/Compiler/PassConfig.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ public function __construct()
8585
new InlineServiceDefinitionsPass(new AnalyzeServiceReferencesPass()),
8686
new AnalyzeServiceReferencesPass(),
8787
new DefinitionErrorExceptionPass(),
88+
]];
89+
90+
$this->afterRemovingPasses = [[
8891
new CheckExceptionOnInvalidReferenceBehaviorPass(),
8992
new ResolveHotPathPass(),
9093
]];

0 commit comments

Comments
 (0)