Skip to content

Align CI with the PHP 8 requirement - #52

Merged
vanderlee merged 9 commits into
masterfrom
agent/modernize-ci
Aug 3, 2026
Merged

Align CI with the PHP 8 requirement#52
vanderlee merged 9 commits into
masterfrom
agent/modernize-ci

Conversation

@vanderlee

@vanderlee vanderlee commented Aug 2, 2026

Copy link
Copy Markdown
Owner

What changed

  • Replace the obsolete PHP 7-era Travis build with GitHub Actions.
  • Test the declared PHP 8.0+ support across PHP 8.0 through 8.5.
  • Allow Composer to resolve an appropriate maintained PHPUnit major for each runtime.
  • Add a composer test script and strict Composer validation.
  • Restore the shared PHPUnit test base alias, modernize the output data provider, and remove obsolete PHPUnit XML attributes.
  • Use assertions compatible with PHPUnit 9 through 11.

Why

composer.json requires PHP 8.0, but the existing CI only targeted PHP 7.1, PHP 7.2, and HHVM. The old test bootstrap and fixtures also depended on PHPUnit APIs that changed across the supported runtime range.

Validation

The GitHub Actions matrix passes on PHP 8.0, 8.1, 8.2, 8.3, 8.4, and 8.5.

@vanderlee
vanderlee marked this pull request as ready for review August 3, 2026 18:53
@vanderlee
vanderlee merged commit 9882ce6 into master Aug 3, 2026
7 of 10 checks passed
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.

1 participant