Commit 0284e95
committed
bug symfony#52188 [FrameworkBundle][Workflow] Add
This PR was merged into the 6.4 branch.
Discussion
----------
[FrameworkBundle][Workflow] Add `WorflowGuardListenerPass` only if it exists
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix symfony#52187
| License | MIT
As spotted by `@PhilETaylor` (in [this comment](symfony#52032 (comment))) the framework is broken in 6.4-dev when the worflow component is not installed.
This PR fixes that by registering the compiler pass only if available.
Commits
-------
1ba348a Add WorflowGuardListenerPass only if it existsWorflowGuardListenerPass only if it exists (smnandre)1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments