Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[DependencyInjection][Routing] Remove support for the XML configuration format#61930
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
1298bce tobc43f76Compare| $locatorPass =newServiceLocatorTagPass(); | ||
| $locatorPass->process($container); | ||
| } | ||
| $dumpedContainer =unserialize(file_get_contents(substr_replace($file,'.ser', -4))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I suggest changing the value ofdebug.container.dump to have a file name ending in.ser directly instead of keeping a.xml path while the XML file won't exist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'd keep the param as is: the xml file still exists and is dumped e.g. for IDE plugins
Uh oh!
There was an error while loading.Please reload this page.
yceruto left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
🚀
…ML loaders are removed (nicolas-grekas)This PR was merged into the 7.4 branch.Discussion---------- Ensure branch 7.4 will remain compatible with 8.0 once XML loaders are removed| Q | A| ------------- | ---| Branch? | 7.4| Bug fix? | no| New feature? | no| Deprecations? | no| Issues | -| License | MITAfter#60568Needed for#61930Commits-------758c7f5 Ensure branch 7.4 will remain compatible with 8.0 once XML loaders are removed
bc43f76 toaf1f030Comparenicolas-grekas commentedOct 2, 2025
PR ready, failures unrelated |
ro0NL commentedOct 2, 2025
does this also include the removal of var/cache/env/*Container.xml? |
nicolas-grekas commentedOct 2, 2025
It doesn't (see#61930 (comment)) |
ro0NL commentedOct 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
so IIUC we preserve XML format on that location for the future? |
nicolas-grekas commentedOct 2, 2025
Correct, see#61280 |
ro0NL commentedOct 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
im struggling why we couldnt maintain the format then for every day config, personally i dont mind lack of xsd valition nor requiring ext-dom (in userland) |
nicolas-grekas commentedOct 2, 2025
The discussion happened in#60568 |
ro0NL commentedOct 2, 2025
|
nicolas-grekas commentedOct 2, 2025
This is really not helping@ro0NL, please do your part, this is burning my good will. |
ro0NL commentedOct 2, 2025
perhaps, but enforcing a full format migration like that, is not what i was waiting for |
ro0NL commentedOct 2, 2025
we have 3 years of hoping the migration tool will do it's job, so OK. |
fabpot commentedOct 3, 2025
Thank you@nicolas-grekas. |
3ce1fa9 intosymfony:8.0Uh oh!
There was an error while loading.Please reload this page.
Per#60568