You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #48259 [FrameworkBundle] Allow configuring framework.exceptions with a config builder (MatTheCat)
This PR was squashed before being merged into the 5.4 branch.
Discussion
----------
[FrameworkBundle] Allow configuring `framework.exceptions` with a config builder
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix #48191
| License | MIT
| Doc PR | symfony/symfony-docs#17455
It seems the `framework.exceptions` definition has been wrongly configured for XML. As a result it is not possible to set its value using a config builder.
This pull request adds a “right” way to configure `framework.exceptions` using XML. The old one should be deprecated for `6.3` and removed for `7.0`.
[The documentation](https://symfony.com/doc/current/reference/configuration/framework.html#exceptions) is also wrong and should be fixed (ideally after this pull request is merged).
Guidance is requested to add a test (current failures unrelated) 🙏
Commits
-------
57e28f6bda [FrameworkBundle] Allow configuring `framework.exceptions` with a config builder
0 commit comments