Skip to content

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Oct 17, 2025

Related to symfony/symfony#62092 and https://symfony.com/blog/new-in-symfony-7-4-deprecated-xml-configuration

The diff itself isn't really interesting. What's interesting is comparing yaml to php arrays.

This can give a nice overview of the new format.

@carsonbot carsonbot added this to the 8.0 milestone Oct 17, 2025
@carsonbot carsonbot changed the title Replace the fluent PHP config format by the array-shape one Replace the fluent PHP config format by the array-shape one Oct 17, 2025
@nicolas-grekas nicolas-grekas force-pushed the php-array branch 4 times, most recently from dc1e644 to 730f41f Compare October 18, 2025 16:44
@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Oct 18, 2025

PR ready.
This took me quite some time to do manually, but with some LLM help, I shouldn't have made much mistakes.

@nicolas-grekas nicolas-grekas force-pushed the php-array branch 2 times, most recently from 097460b to 776698b Compare October 19, 2025 16:46
@javiereguiluz
Copy link
Member

Thanks for this! We should merge this soon to aovid merge conflicts with other PRs.

However, GitHub shows errors on these 5 files, so we should fix those:

  • logging/channels_handlers.rst
  • logging/monolog_console.rst
  • service_container/import.rst
  • configuration.rst
  • http_client.rst

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