ci: the PHP checks on PHP 8.6 #13

Merged
dawid merged 1 commit from php-8.6 into main 2026-11-21 08:42:20 +00:00
Owner

The PHP checks move from php:8.5-cli-alpine to php:8.6-cli-alpine, which also covers Renovate's bump in its grouped PR.

The 8.6 image broke two things, both fixed here:

  • The image lacks mbstring. PHPUnit needs it, and its absence is what crashed Psalm. CI's first step now builds it, as it already builds zip and bz2.
  • php-cs-fixer refuses a PHP newer than the syntax it knows. .php-cs-fixer.dist.php now allows it to run anyway. The code must stay valid on PHP 8.2, so it never uses syntax the fixer doesn't know.

Checked in php:8.6-cli-alpine, with this branch's own first CI step: the coding standard, Psalm and PHPUnit (17 tests) pass, without any override.

🤖 Generated with Claude Code

The PHP checks move from `php:8.5-cli-alpine` to `php:8.6-cli-alpine`, which also covers Renovate's bump in its grouped PR. The 8.6 image broke two things, both fixed here: - **The image lacks mbstring.** PHPUnit needs it, and its absence is what crashed Psalm. CI's first step now builds it, as it already builds zip and bz2. - **php-cs-fixer refuses a PHP newer than the syntax it knows.** `.php-cs-fixer.dist.php` now allows it to run anyway. The code must stay valid on PHP 8.2, so it never uses syntax the fixer doesn't know. Checked in `php:8.6-cli-alpine`, with this branch's own first CI step: the coding standard, Psalm and PHPUnit (17 tests) pass, without any override. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci: the PHP checks on PHP 8.6
All checks were successful
CI / javascript (pull_request) Successful in 20s
CI / standards (pull_request) Successful in 50s
CI / php (dev-stable34) (pull_request) Successful in 48s
CI / server (35) (pull_request) Successful in 1m17s
CI / php (dev-stable32) (pull_request) Successful in 48s
CI / php (dev-master) (pull_request) Successful in 1m50s
CI / php (dev-stable35) (pull_request) Successful in 47s
CI / php (dev-stable33) (pull_request) Successful in 1m49s
CI / server (32) (pull_request) Successful in 1m9s
705e60fa8f
PHP's 8.6 image lacks mbstring, which PHPUnit needs (and Psalm crashed without): the first step builds it, as it builds zip and bz2. php-cs-fixer refuses a PHP newer than the syntax it knows; allowed, as the code keeps to PHP 8.2's syntax.
dawid merged commit 15287e5645 into main 2026-11-21 08:42:20 +00:00
dawid deleted branch php-8.6 2026-11-21 08:42:20 +00:00

Tests of CI / php (dev-stable32): passed

17 passed, 0 failed, 0 skipped (17 tests, 0.0 s)

Of 705e60fa8f, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable32- --> ### Tests of CI / php (dev-stable32): passed **17 passed, 0 failed, 0 skipped** (17 tests, 0.0 s) <sub>Of 705e60fa8f, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-stickers/actions/runs/103), updated by every run.</sub>

Tests of CI / php (dev-stable34): passed

17 passed, 0 failed, 0 skipped (17 tests, 0.0 s)

Of 705e60fa8f, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable34- --> ### Tests of CI / php (dev-stable34): passed **17 passed, 0 failed, 0 skipped** (17 tests, 0.0 s) <sub>Of 705e60fa8f, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-stickers/actions/runs/103), updated by every run.</sub>

Tests of CI / php (dev-master): passed

17 passed, 0 failed, 0 skipped (17 tests, 0.1 s)

Of 705e60fa8f, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-master- --> ### Tests of CI / php (dev-master): passed **17 passed, 0 failed, 0 skipped** (17 tests, 0.1 s) <sub>Of 705e60fa8f, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-stickers/actions/runs/103), updated by every run.</sub>

Tests of CI / php (dev-stable35): passed

17 passed, 0 failed, 0 skipped (17 tests, 0.0 s)

Of 705e60fa8f, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable35- --> ### Tests of CI / php (dev-stable35): passed **17 passed, 0 failed, 0 skipped** (17 tests, 0.0 s) <sub>Of 705e60fa8f, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-stickers/actions/runs/103), updated by every run.</sub>

Tests of CI / php (dev-stable33): passed

17 passed, 0 failed, 0 skipped (17 tests, 0.1 s)

Of 705e60fa8f, the run, updated by every run.

<!-- ci-report tests: CI-php-dev-stable33- --> ### Tests of CI / php (dev-stable33): passed **17 passed, 0 failed, 0 skipped** (17 tests, 0.1 s) <sub>Of 705e60fa8f, [the run](https://git.ciepiela.org/dawid/nextcloud-talk-stickers/actions/runs/103), updated by every run.</sub>
Sign in to join this conversation.
No description provided.