Skip to content
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

Adds constants for YamlEncoder options #39029

Merged
merged 1 commit into from Nov 9, 2020

Conversation

dbrumann
Copy link
Contributor

@dbrumann dbrumann commented Nov 7, 2020

Q A
Branch? 5.x
Bug fix? no
New feature? no
Deprecations? no
License MIT

As I understand it encoders and normalizers use (public) constants for context keys so IDEs can help by providing autocomplete. I added these constants for the YamlEncoder where they are missing right now. For reference see other encoders like CsvEncoder or XmlEncoder.

@dbrumann dbrumann force-pushed the yaml_encoder_add_option_constants branch from 279ff46 to 6ebf7e1 Compare November 8, 2020 11:35
@fabpot
Copy link
Member

fabpot commented Nov 9, 2020

Thank you @dbrumann.

@fabpot fabpot merged commit dfe60bb into symfony:5.x Nov 9, 2020
@dbrumann dbrumann deleted the yaml_encoder_add_option_constants branch November 9, 2020 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants