From 5f2c53aa43e43505a51dbb68732afa6be6f853e9 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 12:37:30 +0000 Subject: [PATCH 1/2] Add PHP 8.5 to the CI test matrix Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01AFJFMNF7ePKUHCbTcsyh5d --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92c3a73..1707317 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['8.1', '8.4'] + php: ['8.1', '8.4', '8.5'] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 From 11bbd15b5573fb998eea882bae1513785ce52fb1 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 6 Nov 2026 12:43:56 +0000 Subject: [PATCH 2/2] CI: report all PHP errors, fail on deprecations Run the test jobs with error_reporting=E_ALL (the production ini of setup-php hides E_DEPRECATED), and let PHPUnit fail on and list deprecations. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01AFJFMNF7ePKUHCbTcsyh5d --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1707317..61061f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,7 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none + ini-values: error_reporting=E_ALL - name: Check PHP syntax run: find . -name '*.php' -not -path './.git/*' -print0 | xargs -0 -n1 php -l @@ -130,6 +131,7 @@ jobs: extensions: mysqli, pdo_mysql, pgsql, pdo_pgsql, zip, mbstring, intl, gd tools: phpunit:11 coverage: none + ini-values: error_reporting=E_ALL - name: Start database (${{ matrix.db }}) env: