Skip to content

Conversation

@W0rma
Copy link
Contributor

@W0rma W0rma commented Oct 29, 2025

Using the xml format is deprecated in symfony 7.4 (see https://symfony.com/blog/new-in-symfony-7-4-deprecated-xml-configuration).

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

@W0rma W0rma force-pushed the xml-to-php-service-configuration branch from 8d2c182 to 025527c Compare October 29, 2025 12:28
@W0rma W0rma marked this pull request as ready for review October 29, 2025 12:31
"php": "^8.1",
"jms/serializer-bundle": "^3.10 || ^4.2 || ^5.4",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/expression-language": "~3.0 || ~4.0 || ~5.0 || ~6.0 || ~7.0",

Choose a reason for hiding this comment

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

would it make sense to drop support for symfony 3 and 4 completely then? I mean they are long dead anyway

Choose a reason for hiding this comment

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

I'm also proposing to remove it for willdurand/Hateoas#343 so it wouldn't make sense to support it here then. But maybe let's wait for a maintainer

@goetas
Copy link
Collaborator

goetas commented Dec 20, 2025

Now that willdurand/Hateoas#343 is merged, is there anything that needs to changed into this?

@W0rma
Copy link
Contributor Author

W0rma commented Dec 20, 2025

Now that willdurand/Hateoas#343 is merged, is there anything that needs to changed into this?

@goetas This PR is ready to merge.

Alternatively you could just merge #119 which is build on top of this PR + adds support for symfony 8.

@goetas goetas merged commit babfac8 into willdurand:master Dec 21, 2025
37 checks passed
@W0rma W0rma deleted the xml-to-php-service-configuration branch December 21, 2025 12:17
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.

3 participants