From 1aaf579942d094a610aed8facd8785e5e648eac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Mon, 16 Nov 2026 01:25:25 +0100 Subject: [PATCH 1/2] Run tests on PHP 8.5 and update test environment --- .github/workflows/ci.yml | 8 +++++--- composer.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9286d42..2fa0fcd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,16 +11,17 @@ jobs: strategy: matrix: php: + - 8.5 - 8.4 - 8.3 - 8.2 - 8.1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - coverage: ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }} + coverage: pcov ini-file: development - run: composer install - run: vendor/bin/phpunit --coverage-text @@ -31,12 +32,13 @@ jobs: strategy: matrix: php: + - 8.5 - 8.4 - 8.3 - 8.2 - 8.1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} diff --git a/composer.json b/composer.json index e2d045a..63e0352 100644 --- a/composer.json +++ b/composer.json @@ -27,8 +27,8 @@ ], "require": { "php": ">=8.1", - "react/event-loop": "^1.2", - "react/promise": "^3.2 || ^2.8 || ^1.2.1" + "react/event-loop": "^1.6", + "react/promise": "^3.3 || ^2.8 || ^1.2.1" }, "require-dev": { "phpstan/phpstan": "1.12.19", From 47e8340c418ddb6f926de0e8a58b89e90fe40fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Mon, 16 Nov 2026 01:25:35 +0100 Subject: [PATCH 2/2] Run tests on PHP 8.6 and update test environment --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fa0fcd..2531692 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,10 +7,11 @@ on: jobs: PHPUnit: name: PHPUnit (PHP ${{ matrix.php }}) - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 strategy: matrix: php: + - 8.6 - 8.5 - 8.4 - 8.3 @@ -28,10 +29,11 @@ jobs: PHPStan: name: PHPStan (PHP ${{ matrix.php }}) - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 strategy: matrix: php: + - 8.6 - 8.5 - 8.4 - 8.3