Repository navigation
Drop support for end-of-life PHP versions - #13
Merged
Merged
Conversation
BREAKING CHANGE: require PHP ^8.2, Codeception ^5.0 and PHPUnit ^11.0, ^12.0 or ^13.0. PHP 7.4, 8.0 and 8.1 no longer receive security updates. Users on those versions stay on 1.x. Run CI on PHP 8.2 to 8.5 with lowest and highest dependencies, none of them experimental, and run PHPCS and PHPStan on PHP 8.2. Update setup-php and checkout, and pin the MockServer image to 9.2.0 in CI and docker-compose. Migrate phpunit.xml to the current schema, now that older PHPUnit versions are gone, and ignore its cache directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Summary
Breaking change, to release as 2.0.0. Users on older versions stay on 1.x, because Composer won't install this version for them.
^8.2. PHP 7.4, 8.0 and 8.1 no longer receive security updates.^5.0and PHPUnit^11.0 || ^12.0 || ^13.0.setup-phpto 2.40.0 andcheckoutto v7.mockserver/mockserverto 9.2.0 in CI anddocker-compose.yml, so a new image can't break CI without a code change.phpunit.xmlto the current schema, which removes the PHPUnit deprecations, and ignorevar/.No changes in
src/ortests/.PHP 8.2 security support ends on 2026-12-31.
Resolved versions
Highest always resolves to Codeception 5.3.7. Composer refuses to install on PHP 8.1.
Test plan
Run locally on Windows with PHP 8.4.27 and MockServer 9.2.0. PHP 8.2 and 8.3 dependencies were selected with Composer's
platformsetting, so the code itself still ran on 8.4.🤖 Generated with Claude Code