Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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

Merged
fabpot merged 1 commit intosymfony:8.0fromnicolas-grekas:drop-xml-config
Oct 3, 2025

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?8.0
Bug fix?no
New feature?yes
Deprecations?no
Issues-
LicenseMIT

Per#60568

GromNaN and yceruto reacted with rocket emoji
$locatorPass =newServiceLocatorTagPass();
$locatorPass->process($container);
}
$dumpedContainer =unserialize(file_get_contents(substr_replace($file,'.ser', -4)));
Copy link
Member

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.

Copy link
MemberAuthor

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

Copy link
Member

@ycerutoyceruto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

🚀

nicolas-grekas added a commit that referenced this pull requestOct 2, 2025
…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
@nicolas-grekas
Copy link
MemberAuthor

PR ready, failures unrelated

@ro0NL
Copy link
Contributor

does this also include the removal of var/cache/env/*Container.xml?

@nicolas-grekas
Copy link
MemberAuthor

It doesn't (see#61930 (comment))

@ro0NL
Copy link
Contributor

ro0NL commentedOct 2, 2025
edited
Loading

so IIUC we preserve XML format on that location for the future?

@nicolas-grekas
Copy link
MemberAuthor

Correct, see#61280

@ro0NL
Copy link
Contributor

ro0NL commentedOct 2, 2025
edited
Loading

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
Copy link
MemberAuthor

The discussion happened in#60568

@ro0NL
Copy link
Contributor

Let's wait on the discussion on the issue to know what should actually be deprecated. This PR deprecates a lot more than what was mentioned in the issue it fixes.

I am not really sure we need to go thus far.

But if someone likes using XML config files, why shouldn't we allow it optionally if the maintenance overhead is barely measurable?

I have a hard time following this initiative to be honest.

@nicolas-grekas
Copy link
MemberAuthor

This is really not helping@ro0NL, please do your part, this is burning my good will.
The discussion goes on to reduce the scope - that comment you copy/pasted is related to a previous iteration of the PR, you can see that from the rest of the discussion.

@ro0NL
Copy link
Contributor

perhaps, but enforcing a full format migration like that, is not what i was waiting for

@ro0NL
Copy link
Contributor

we have 3 years of hoping the migration tool will do it's job, so OK.

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit3ce1fa9 intosymfony:8.0Oct 3, 2025
5 of 10 checks passed
@nicolas-grekasnicolas-grekas deleted the drop-xml-config branchOctober 3, 2025 06:27
@fabpotfabpot mentioned this pull requestOct 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@fabpotfabpotfabpot approved these changes

@ycerutoycerutoyceruto approved these changes

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

8.0

Development

Successfully merging this pull request may close these issues.

6 participants

@nicolas-grekas@ro0NL@fabpot@stof@yceruto@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp