8000 [DependencyInjection] Sort PassConfig:TYPE_* by order of execution · symfony/symfony@c736db4 · GitHub
[go: up one dir, main page]

Skip to content

Commit c736db4

Browse files
committed
[DependencyInjection] Sort PassConfig:TYPE_* by order of execution
1 parent f57a6de commit c736db4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
*/
2323
class PassConfig
2424
{
25-
public const TYPE_AFTER_REMOVING = 'afterRemoving';
25+
// In the order of execution
2626
public const TYPE_BEFORE_OPTIMIZATION = 'beforeOptimization';
27-
public const TYPE_BEFORE_REMOVING = 'beforeRemoving';
2827
public const TYPE_OPTIMIZE = 'optimization';
28+
public const TYPE_BEFORE_REMOVING = 'beforeRemoving';
2929
public const TYPE_REMOVE = 'removing';
30+
public const TYPE_AFTER_REMOVING = 'afterRemoving';
3031

3132
private MergeExtensionConfigurationPass $mergePass;
3233
private array $afterRemovingPasses;

0 commit comments

Comments
 (0)
0