Skip to content

[Config] Fix the XML configuration example for enums #20329

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

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

stof
Copy link
Member

@stof stof commented Oct 15, 2024

There is no type="enum" in the XML file loader.

The bad example was introduced in #17910. However, the issue it was fixing was about a change in Symfony for PHP config files only. The Yaml and XML file loaders don't have any dedicated syntax for enums (but of course, the Yaml component itself does, which is what is used in the Yaml example)

There is no `type="enum"` in the XML file loader.
@carsonbot carsonbot added this to the 6.4 milestone Oct 15, 2024
@carsonbot carsonbot changed the title Fix the XML configuration example for enums [Config] Fix the XML configuration example for enums Oct 15, 2024
@javiereguiluz
Copy link
Member

Good catch, thanks Christophe.

@javiereguiluz javiereguiluz merged commit d0cffd5 into symfony:6.4 Oct 15, 2024
3 checks passed
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.

3 participants