Skip to content

[Config] Add Kernel method override example for php/xml formats #16694

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
Apr 8, 2022

Conversation

HypeMC
Copy link
Member

@HypeMC HypeMC commented Apr 6, 2022

The docs for version 5.4 aren't clear on what needs to be updated to add support for the xml and php config formats.
With previous versions this wasn't a problem since the Kernel class in the recipe had a configureContainer method so it was easy to infer what needs to be done. However, starting with version 5.4 the method was moved to the MicroKernelTrait and removed from the recipe making it a lot harder to know what exactly needs to be done to get php/xml formats working.

@carsonbot carsonbot added this to the 5.4 milestone Apr 6, 2022
@javiereguiluz javiereguiluz merged commit 0370bd5 into symfony:5.4 Apr 8, 2022
@javiereguiluz
Copy link
Member

javiereguiluz commented Apr 8, 2022

Thank you @HypeMC !

Please note that I merged this in upper branches ... but removed it in 6.1 branch, where we added built-in support for YAML and PHO, so I don't think we need to display the example (only XML config is missing, and not many people are using it).

@HypeMC HypeMC deleted the php-xml-config branch April 8, 2022 20:00
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