-
Notifications
You must be signed in to change notification settings - Fork 222
Update YamlParser.php #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
More comfortable to use constant in some configs. Especially in enum type
@AlexGural thanks for you contribution! Thank you again |
@renatomefi sure no problem. I`m going to do this soon |
Corresponding issue: #303. |
@AlexGural ping, are you still willing to do this? Thanks again! |
@renatomefi I added a small test. I was confused a little bit because I didn`t find tests for YamlParser and symfony parser has a good coverage. |
Any updates on this?👀 |
Closing this because of inactivity, feel free to continue discussion if this is still needed |
- Add the `Yaml::PARSE_CONSTANT` flag to the YamlParser to allow `!php/const` tags - Add test for parsing yaml files with constants - Adjust documentation for enums Fix issue overblog#303. Based on pull request overblog#304
More comfortable to use constant in some configs. Especially in enum type
Add possibility to use native constant expression for
.yml