From d9cd58c22bfb9fe1590e0792f21e79ee97b6c479 Mon Sep 17 00:00:00 2001 From: Dieter Beck Date: Wed, 10 Dec 2025 07:03:00 +0100 Subject: [PATCH 1/2] Test against PHP 8.5 (#24) * Bump actions/checkout version * Test against PHP 8.5 --- .github/workflows/main.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3fb64c..79fc5e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,18 +14,30 @@ jobs: strategy: matrix: - php: [8.0, 8.1, 8.2, 8.3, 8.4] + php: [8.0, 8.1, 8.2, 8.3, 8.4, 8.5] steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - - name: Setup PHP + - name: Setup PHP != 8.5 + if: ${{ matrix.php != '8.5' }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: none + - name: Setup PHP 8.5 + if: ${{ matrix.php == '8.5' }} + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + coverage: none + # this ini directive seems to be off by default in PHP 8.5 + # see https://github.com/php/php-src/issues/20279 + # enable it because codeception relies on it. + ini-values: register_argc_argv=1 + - name: Validate composer.json and composer.lock run: composer validate From 425b9ed2b2a1773ac5bd81bde41a7f25b0756e2e Mon Sep 17 00:00:00 2001 From: Christiaan Titos Bolivar Date: Tue, 16 Dec 2025 08:38:28 +0100 Subject: [PATCH 2/2] Allow predis version 3 (#23) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8f1b342..ada6c90 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "require": { "php": "^8.0", "codeception/codeception": "^5.0", - "predis/predis": "^1.1 | ^2.0", + "predis/predis": "^1.1 | ^2.0 | ^3.0", "sebastian/comparator": "^4.0 | ^5.0 | ^6.0 | ^7.0" }, "autoload": {