Skip to content

Conversation

@W0rma
Copy link
Contributor

@W0rma W0rma commented Dec 21, 2025

This PR fixes the remaining deprecation warnings in symfony 7.4:

Since symfony/validator 7.3: Passing an array of options to configure the "Symfony\Component\Validator\Constraints\IdenticalTo" constraint is deprecated.

Since symfony/validator 7.4: Support for evaluating options in the base Constraint class is deprecated.

Since symfony/validator 7.3: Passing an array of options to configure the "FOS\RestBundle\Validator\Constraints\Regex" constraint is deprecated

Since symfony/http-foundation 7.4: Request::get() is deprecated, use properties ->attributes, query or request directly instead.

With these changes it is possible to allow the installation of symfony v8

@W0rma W0rma marked this pull request as ready for review December 21, 2025 11:46
@goetas goetas merged commit bd9acb0 into FriendsOfSymfony:3.x Dec 21, 2025
17 checks passed
@W0rma W0rma deleted the symfony8 branch December 21, 2025 14:04
@alexander-schranz
Copy link
Contributor

Awesome thank you @W0rma and thx @goetas. @goetas If there is something else needed to get this released let me know.

@goetas
Copy link
Member

goetas commented Dec 22, 2025

https://github.com/FriendsOfSymfony/FOSRestBundle/releases/tag/3.9.0-beta1

},
"require": {
"php": "^7.4|^8.0",
"symfony/config": "^5.4|^6.4|^7.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems like I forgot to adjust this version constraint 🤦‍♂️

I'm going to create PR to fix this.

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