Skip to content

ci: run code analysis on PHP 8.5 and fix the Rector job - #8

Open
Vondry wants to merge 1 commit into
bolt:mainfrom
Vondry:ci/php-8.5
Open

Vondry wants to merge 1 commit into
bolt:mainfrom
Vondry:ci/php-8.5

Conversation

@Vondry

@Vondry Vondry commented Nov 21, 2026

Copy link
Copy Markdown
  • Adds PHP 8.5 to the code analysis matrix (8.2–8.5).
  • The Rector job keyed its Composer cache on matrix.php-version, but that job has no matrix, so the key never contained the PHP version. It now uses a PHP_VERSION env var that also drives setup-php.
  • Drops tools: symfony-cli, which no step uses.
  • Adds permissions: contents: read and a concurrency group, so a newer push to the same branch or PR cancels the older run.

Checked locally: composer install, PHPStan and ECS pass on PHP 8.2 and 8.5.

- Add PHP 8.5 to the matrix.
- The Rector job keyed its Composer cache on matrix.php-version, which it
  doesn't have; key it on the PHP version it runs.
- Drop symfony-cli, which no step uses.
- Read-only token permissions, and cancel runs superseded by a newer push.
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