FIx usage of Regex validator constructor#2417
Merged
goetas merged 2 commits intoDec 20, 2025
Merged
Conversation
Fixes "Passing an array of options to configure the \"FOS\\RestBundle\\Validator\\Constraints\\Regex\" constraint is deprecated, use named arguments instead."
Support php <8.0
xabbuh
approved these changes
May 23, 2025
W0rma
approved these changes
Jun 2, 2025
Contributor
|
@goetas Can we get this merged and tagged? |
deluxetom
approved these changes
Jun 23, 2025
tjveldhuizen
added a commit
to tjveldhuizen/FOSRestBundle
that referenced
this pull request
Jul 23, 2025
tjveldhuizen
added a commit
to tjveldhuizen/FOSRestBundle
that referenced
this pull request
Jul 23, 2025
tjveldhuizen
added a commit
to tjveldhuizen/FOSRestBundle
that referenced
this pull request
Jul 23, 2025
tjveldhuizen
added a commit
to tjveldhuizen/FOSRestBundle
that referenced
this pull request
Jul 23, 2025
deluxetom
pushed a commit
to sctr/FOSRestBundle
that referenced
this pull request
Jan 15, 2026
* Update AbstractScalarParam.php Fixes "Passing an array of options to configure the \"FOS\\RestBundle\\Validator\\Constraints\\Regex\" constraint is deprecated, use named arguments instead." * Update AbstractScalarParam.php Support php <8.0 * Fix deprecations in symfony/validator, including the fix in FriendsOfSymfony#2417 Fixes FriendsOfSymfony#2416 * Fix MimeTypeTest for Symfony 7.4 * Don't use deprecated `#[Route]` methods * Switch to php for service configurations Using xml is deprecated in symfony 7.4 * Fix usage of deprecated method Request::get() * Fix deprecated usages of symfony/validator * Add support for symfony 8 * Test against PHP 8.5 * Fix noop call of deprecated setAccessible() in PHP > 8.0 * Fix build status badge * Remove broken SensioLabsInsight badge * Remove outdated scrutinizer badges * Allow usage with symfony/config v8 --------- Co-authored-by: dev-craftec <89782875+dev-craftec@users.noreply.github.com> Co-authored-by: Thijs-jan Veldhuizen <thijs-jan.veldhuizen@nevobo.nl> Co-authored-by: Alexander Schranz <alexander@sulu.io> Co-authored-by: HypeMC <hypemc@gmail.com> Co-authored-by: Asmir Mustafic <goetas@gmail.com> Co-authored-by: W0rma <beck.worma@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes "Passing an array of options to configure the "FOS\RestBundle\Validator\Constraints\Regex" constraint is deprecated, use named arguments instead."
Link to issue: #2416