ci: PHP 8.5 for the PHP jobs, as composer:2 moved to PHP 8.6 #8
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-php-8.5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
composer:2, the image of the PHP jobs, follows PHP's newest release and has PHP 8.6 since 2026-11-19. On it:nextcloud-cryptomator's run 126;mbstringthere.The composer image has no tags with an older PHP. The jobs now run in
php:8.5-cli-alpine, where they passed until then, and a first step installs what the composer image had: bash and git (for the steps), thezipandbz2extensions, and Composer from its installer, checked against the signature Composer publishes (about 20 s). Where two jobs need it, the step is written once (&tools).Renovate's bump of the tag to 8.6 will show when the tools support it. The local notes (
AGENTS.md) no longer suggestcomposer:2.Tried in
php:8.5-cli-alpinewith the step as written (sh -e): lint, coding standard, Psalm and PHPUnit pass in all three PHP apps (nextcloud-cryptomator, nextcloud-talk-ai, nextcloud-talk-stickers), and talk-ai's tests againstdev-stable32,dev-stable35anddev-master. The same change goes to each of the three.composer:2 follows PHP's newest release and has PHP 8.6 since 2026-11-19: php-cs-fixer refuses it ("supports PHP syntax only up to PHP 8.5"), Psalm 6 crashes on it and the image lacks mbstring there, which PHPUnit needs. The composer image has no tags with an older PHP, so the jobs run in php:8.5-cli-alpine, where they passed until then, and install what the composer image had: bash and git, the zip and bz2 extensions and Composer, from its installer checked against the signature Composer publishes. Renovate's bump of the image's tag to 8.6 shows when the tools support it. The local notes no longer suggest composer:2.