CI: drop EOL PHP 8.1/8.2, require PHP 8.3+ - #59
Merged
Merged
Conversation
The test toolchain (pestphp/pest >=2.36.1 and brianium/paratest >=7.4) no longer supports PHP 8.1/8.2, so composer could not resolve dev dependencies on those versions and every CI run failed at the install step. Bump the supported range to ^8.3|^8.4 and update the run-tests matrix and PHPStan job accordingly.
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.
Problem
CI is red on
mainand on every open PR. The jobs fail in ~10s at the dependency install step, before any test runs:The test toolchain (
pestphp/pest≥2.36.1 and its dependencybrianium/paratest≥7.4) has dropped PHP 8.1/8.2, socomposercan no longer resolve dev dependencies on the 8.1 (and several 8.2) matrix legs. PHP 8.1 and 8.2 are also end-of-life.Fix
composer.json:"php": "^8.1|^8.2|^8.3"→"^8.3|^8.4".github/workflows/run-tests.yml: matrixphp: [8.1, 8.2, 8.3]→[8.3, 8.4].github/workflows/phpstan.yml:php-version: "8.1"→"8.3"Locally:
composer test→ all green,phpstan analyse→ no errors.Note
This unblocks the four bug-fix PRs (#55–#58). Merge this first; their checks then pass against the updated base.