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
… (nlhommet)
This PR was squashed before being merged into the 4.4 branch.
Discussion
----------
[Routing] fix conflict with param named class in attribute
| Q | A
| ------------- | ---
| Branch | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#40225
| License | MIT
| Doc PR | -
Fix conflict with AnnotationFileLoader and class PHP8 Attribute with param named "class"
Commits
-------
27bba68 [Routing] fix conflict with param named class in attribute
Symfony version(s) affected: 5.2.x
PHP version: 8.x
Description
When an attribute has a parameter named class before the class declaration, the script tries to load the content of that parameter.
How to reproduce
See issue https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues/713 for more detail
Possible Solution
See here https://github.com/sensiolabs/SensioFrameworkExtraBundle/issues/713#issuecomment-780669307
The text was updated successfully, but these errors were encountered: