Skip to content

Conversation

GromNaN
Copy link
Contributor

@GromNaN GromNaN commented Oct 1, 2025

Q A
Branch? 4.2
Tickets symfony/symfony#60568 (comment)
License MIT
Doc PR no

Script that I used to convert the files: https://github.com/GromNaN/symfony-config-xml-to-php

php convert_xml_to_php.php src/Symfony/Bundle/Resources/config/
find src/Symfony/Bundle/Resources/config/ -name '*.xml' -not -path '*/routing/*' -exec git rm {} \;
php-cs-fixer fix src/Symfony/Bundle/Resources/config

@GromNaN GromNaN changed the title Convert all service configuration files to PHP Convert all service configuration files from XML to PHP Oct 1, 2025
@GromNaN GromNaN force-pushed the php-config branch 3 times, most recently from 0b4cd27 to 17a52c6 Compare October 1, 2025 13:28
@GromNaN GromNaN marked this pull request as ready for review October 1, 2025 13:29
@GromNaN GromNaN changed the title Convert all service configuration files from XML to PHP feat(symfony): Convert all service configuration files from XML to PHP Oct 1, 2025
@GromNaN
Copy link
Contributor Author

GromNaN commented Oct 1, 2025

Remaining work for another PR: Migrate routing/*.xml files to PHP-DSL.

xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

<services>
<!-- Cache -->
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This comments are lost. Do you want to keep them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant