Skip to content

build: support Symfony Validator 5.4 through 8.x - #31

Merged
Alexandre-T merged 2 commits into
mainfrom
22-support-symfony-validator-54-through-8x
Oct 4, 2026
Merged

Alexandre-T merged 2 commits into
mainfrom
22-support-symfony-validator-54-through-8x

Conversation

@Alexandre-T

Copy link
Copy Markdown
Contributor

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.0 constraint. 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 test suite. 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 by composer 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 quality passed, with existing PDepend deprecation notices under PHP 8.5; no source formatting changes.
  • composer validate --no-check-publish and git diff --check passed.
  • Workflow YAML parsed successfully; the version-verification step succeeded for matching installations and returned exit 1 for a deliberately mismatched expected version.

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.

@Alexandre-T Alexandre-T linked an issue Oct 4, 2026 that may be closed by this pull request
17 tasks done
@codecov-commenter

codecov-commenter commented Oct 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.91%. Comparing base (d77d9e0) to head (c06973a).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Validator 8.1 is already tested in the PHP 8.4 job.
@Alexandre-T
Alexandre-T force-pushed the 22-support-symfony-validator-54-through-8x branch from 4c2e613 to c06973a Compare October 4, 2026 17:14
@Alexandre-T
Alexandre-T merged commit ceaee5d into main Oct 4, 2026
6 checks passed
@Alexandre-T
Alexandre-T deleted the 22-support-symfony-validator-54-through-8x branch October 4, 2026 17:21
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.

Story: Support Symfony Validator 5.4 through 8.x

2 participants