Skip to content

Commit 7b4d7c2

Browse files
committed
[workflow] Revert deprecation about Registry
1 parent f3b5f65 commit 7b4d7c2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Resources/config/workflow.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@
3939
->abstract()
4040
->set('workflow.marking_store.method', MethodMarkingStore::class)
4141
->abstract()
42-
->set('.workflow.registry', Registry::class)
43-
->alias(Registry::class, '.workflow.registry')
44-
->deprecate('symfony/workflow', '6.2', 'The "%alias_id%" alias is deprecated, inject the workflow directly.')
45-
->alias('workflow.registry', '.workflow.registry')
46-
->deprecate('symfony/workflow', '6.2', 'The "%alias_id%" alias is deprecated, inject the workflow directly.')
42+
->set('workflow.registry', Registry::class)
43+
->alias(Registry::class, 'workflow.registry')
4744
->set('workflow.security.expression_language', ExpressionLanguage::class)
4845
;
4946
};

0 commit comments

Comments
 (0)