From 720a52c2c2ab13b326b1b892b5a3a9a37593d258 Mon Sep 17 00:00:00 2001 From: Cal Henderson Date: Tue, 1 Sep 2026 09:58:52 -0700 Subject: [PATCH 1/3] Updating to recent versions of actions/checkout and actions/cache to silence node deprecation warning --- .github/workflows/php.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b120575..e7d3cc3 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -39,7 +39,7 @@ jobs: run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v6 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} From 7cea1ec8c7313523fe428166bd3886ed554162db Mon Sep 17 00:00:00 2001 From: Cal Henderson Date: Tue, 1 Sep 2026 10:00:11 -0700 Subject: [PATCH 2/3] Test under PHP 8.4 and 8.5 --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e7d3cc3..225cbfd 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.1", "8.2", "8.3"] + php-versions: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.1", "8.2", "8.3", "8.4", "8.5"] coverage: [false] steps: From e7c67ad1deece7e570c4863339e2b9c2996f7def Mon Sep 17 00:00:00 2001 From: Cal Henderson Date: Tue, 1 Sep 2026 10:08:08 -0700 Subject: [PATCH 3/3] Don't install coveralls for non-coverage runs --- .github/workflows/php.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 225cbfd..14d383f 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -31,6 +31,10 @@ jobs: - name: Setup problem matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" + - name: Remove coverage package for non-target configs + run: composer remove --dev php-coveralls/php-coveralls + if: ${{ !matrix.coverage }} + - name: Validate composer run: composer validate