From b4d7a4800102525d19d9a9ebbf4dca39ff55ffbc Mon Sep 17 00:00:00 2001 From: Patrick Niebeling Date: Thu, 12 Nov 2026 10:53:48 +0100 Subject: [PATCH] Test against PHP 8.4 and 8.5 and require PHP 8.4 The lock file pins PHPUnit 13 and Symfony 8, which need PHP 8.4. PHP 8.3 is in its last support year, so drop it from the matrix instead of downgrading the dependencies. Co-Authored-By: Claude Sonnet 5.5 --- .gitea/workflows/ci.yml | 2 +- AGENTS.md | 2 +- composer.json | 2 +- composer.lock | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7ef5203..322842d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['8.3', '8.4', '8.5'] + php: ['8.4', '8.5'] steps: - uses: actions/checkout@v4 diff --git a/AGENTS.md b/AGENTS.md index 93dcd11..3cd0728 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -333,7 +333,7 @@ Kein WebSocket: Presenter (`/admin/{token}/state`) und Teilnehmende (`/p/{code}/ Deploy erfolgt über Git (Remote: Gitea) mit `.gitea/workflows/ci.yml`: -- Job `phpunit` (PHPUnit + phpcs) läuft bei jedem Push auf jeden Branch, als Matrix gegen PHP 8.3, 8.4 und 8.5. +- Job `phpunit` (PHPUnit + phpcs) läuft bei jedem Push auf jeden Branch, als Matrix gegen PHP 8.4 und 8.5. Der Sammel-Job `test` ist nur grün, wenn alle Matrix-Läufe grün sind, und bleibt der Check, den der Branch-Schutz verlangt (so muss dort bei neuen PHP-Versionen nichts angepasst werden). `main` ist per Branch-Schutz in Gitea gesperrt: kein direkter Push, Merge nur per PR und nur mit grünem Status-Check des Jobs `test`. diff --git a/composer.json b/composer.json index 9018403..c34b60c 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "type": "project", "homepage": "https://cakephp.org", "require": { - "php": ">=8.2", + "php": ">=8.4", "cakephp/cakephp": "5.4.*", "cakephp/migrations": "^5.0", "cakephp/plugin-installer": "^2.0", diff --git a/composer.lock b/composer.lock index b984e32..f12b7ff 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ddccb2d95917b222589d74cc89a09235", + "content-hash": "d1039a47e3b46af459f914d1ea67c437", "packages": [ { "name": "cakephp/cakephp", @@ -6893,7 +6893,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=8.2" + "php": ">=8.4" }, "platform-dev": {}, "plugin-api-version": "2.11.0"