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
Looks like we didn't consider the dumping part when adding support for parsing enums in #46771. Support for enums with the !php/const tag was added before in #40857.
I have openend #53680 to harmonise parsing and dumping.
Symfony version(s) affected
7.0.0
Description
Dumper for enums return !php/const instead of !php/enum
How to reproduce
gives:
Possible Solution
The yaml component properly evolves php/const in such situations and returns an enum anyway, but this is confusing.
Replace in Inline.php this line
and corresponding tests
Additional Context
No response
The text was updated successfully, but these errors were encountered: