Skip to content

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