Skip to content

Symfony 7.4: xml format is deprecated for service configuration#100

Open
Supportic wants to merge 1 commit intoshivas:masterfrom
Supportic:feature/update-config-loader
Open

Symfony 7.4: xml format is deprecated for service configuration#100
Supportic wants to merge 1 commit intoshivas:masterfrom
Supportic:feature/update-config-loader

Conversation

@Supportic
Copy link

@Supportic Supportic commented Feb 18, 2026

Since symfony/dependency-injection 7.4: XML configuration format is deprecated, use YAML or PHP instead.

See https://symfony.com/blog/new-in-symfony-7-4-deprecated-xml-configuration

@Supportic Supportic changed the title Exchange XMLFileLoader with YamlFileLoader Fix deprecation: Exchange XMLFileLoader with YamlFileLoader Feb 18, 2026
@Supportic Supportic changed the title Fix deprecation: Exchange XMLFileLoader with YamlFileLoader Symfony 7.4: xml format is deprecated for service configuration Feb 18, 2026
@Supportic Supportic mentioned this pull request Feb 18, 2026
@dontub
Copy link
Collaborator

dontub commented Mar 3, 2026

Thanks @Supportic! Can you additionally remove this XML example from the readme:

<service id="App\Provider\MyCustomProvider">
    <tag name="shivas_versioning.provider" alias="my_provider" priority="0" />
</service>

@Supportic Supportic force-pushed the feature/update-config-loader branch from 6f676bc to 2d0e98e Compare March 3, 2026 17:58
@Supportic Supportic force-pushed the feature/update-config-loader branch from 2d0e98e to 83a1fe4 Compare March 3, 2026 17:59
@Supportic
Copy link
Author

Supportic commented Mar 3, 2026

Collaborator

Sure thing. Rebased from master and removed XML comment.

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.

2 participants