Skip to content

ci: Run PHPStan on PHP 8.5 instead of the latest PHP - #1000

Merged
DannyvdSluijs merged 1 commit into
jsonrainbow:mainfrom
Roman3349:ci/phpstan-php-8.5
Nov 24, 2026
Merged

DannyvdSluijs merged 1 commit into
jsonrainbow:mainfrom
Roman3349:ci/phpstan-php-8.5

Conversation

@Roman3349

Copy link
Copy Markdown
Contributor

The PHPStan (latest) job now runs on PHP 8.6, where composer update fails because no phpspec/prophecy release supports PHP 8.6 yet:

phpspec/prophecy[v1.24.0, ..., v1.26.1] require php 8.2.* || 8.3.* || 8.4.* || 8.5.* -> your php version (8.6.0) does not satisfy that requirement.

The PHPStan (7.2) job is then cancelled as well, so PHPStan fails on main (67b5cf7) and on every PR whose CI ran since then (e.g. #971, #973, #987).

This pins the job to PHP 8.5, the newest version in the regular test matrix of continuous-integration.yml, where PHP 8.6 only runs as an experimental job with --ignore-platform-req=php. It can go back to latest once the dependencies support PHP 8.6.

Signed-off-by: Roman Ondráček <mail@romanondracek.cz>
@DannyvdSluijs
DannyvdSluijs merged commit 90e5b75 into jsonrainbow:main Nov 24, 2026
19 checks passed
github-actions Bot added a commit that referenced this pull request Nov 24, 2026
@Roman3349
Roman3349 deleted the ci/phpstan-php-8.5 branch November 24, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants