Repository navigation
build: support Symfony Validator 5.4 through 8.x - #31
Merged
Merged
Conversation
17 tasks done
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #31 +/- ##
=========================================
Coverage 97.91% 97.91%
Complexity 952 952
=========================================
Files 157 157
Lines 2011 2011
=========================================
Hits 1969 1969
Misses 42 42 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Validator 8.1 is already tested in the PHP 8.4 job.
Alexandre-T
force-pushed
the
22-support-symfony-validator-54-through-8x
branch
from
October 4, 2026 17:14
4c2e613 to
c06973a
Compare
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.
Closes #22.
Consumers can now install Symfony Validator 5.4, 6.x, 7.x or 8.x through the explicit
^5.4 || ^6.0 || ^7.0 || ^8.0constraint. Versions below 5.4 and future major 9 remain excluded; PHP requirements and production code are unchanged.The CI adds four PHP 8.4 compatibility jobs that force 5.4.x, 6.4.x, 7.4.x and 8.1.x, verify the actually installed minor version, and run the complete
composer testsuite. Failures remain blocking and all matrix entries run independently. Existing PHP 8.4/8.5 and quality jobs are retained. Validator documentation and local reproduction instructions describe the supported range and matrix.Validation on PHP 8.5.11:
composer update --with 'symfony/validator:<minor>.*' --prefer-dist --no-interaction, followed bycomposer test, passed for 5.4.48, 6.4.47, 7.4.20 and 8.1.8: each run completed 855 tests and 4,645 assertions with coverage.composer qualitypassed, with existing PDepend deprecation notices under PHP 8.5; no source formatting changes.composer validate --no-check-publishandgit diff --checkpassed.No public API, spatial semantics, serialization, architectural responsibility or breaking change is introduced. The dependency expansion is the approved scope of #22; no new governance gate was encountered. GitHub CI and independent review must complete before merge.