From 48883a673b7448ad46aa0dc3c3f61da4b0a14b53 Mon Sep 17 00:00:00 2001 From: Dieter Beck Date: Sun, 7 Dec 2025 20:46:23 +0100 Subject: [PATCH 1/3] Test against PHP 8.5 + drop support for PHP < 8.2 (#117) * Bump actions/checkout version * Drop support for PHP 8.1 * Test against PHP 8.5 --- .github/workflows/main.yml | 18 +++++++++++++++--- composer.json | 2 +- readme.md | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0c6601..48b431d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,19 +11,31 @@ jobs: strategy: matrix: - php: [8.1, 8.2, 8.3, 8.4] + php: [8.2, 8.3, 8.4, 8.5] composer-options: ["", "--prefer-lowest"] 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 diff --git a/composer.json b/composer.json index 98c5982..590c5fc 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ ], "homepage": "https://codeception.com/", "require": { - "php": "^8.1", + "php": "^8.2", "ext-dom": "*", "ext-json": "*", "codeception/codeception": "^5.0.8", diff --git a/readme.md b/readme.md index ceaef61..9eeb1ba 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ A REST module for Codeception ## Requirements -* `PHP 8` or higher. +* `PHP 8.2` or higher. ## Installation From 33c4be48e6e18e6def2ea7c52fc096728d5f9df5 Mon Sep 17 00:00:00 2001 From: Dieter Beck Date: Mon, 15 Dec 2025 13:03:23 +0100 Subject: [PATCH 2/3] chore(deps): bump codeception/util-universalframework version to 2 (#118) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 590c5fc..d8d1263 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "ext-simplexml": "*", "codeception/lib-innerbrowser": "^3.0 | ^4.0", "codeception/stub": "^4.0", - "codeception/util-universalframework": "^1.0" + "codeception/util-universalframework": "^2.0" }, "suggest": { "aws/aws-sdk-php": "For using AWS Auth" From 7965535793616eb2d138b752c65308fb2d4205a0 Mon Sep 17 00:00:00 2001 From: Wesley Vestjens - Netpresenter Date: Thu, 18 Dec 2025 12:54:38 +0100 Subject: [PATCH 3/3] Add support for jsonpath v0.11 (#119) --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d8d1263..59b5eb3 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "codeception/codeception": "^5.0.8", "codeception/lib-xml": "^1.0", "justinrainbow/json-schema": "^5.2.9 || ^6", - "softcreatr/jsonpath": "^0.8 || ^0.9 || ^0.10" + "softcreatr/jsonpath": "^0.8 || ^0.9 || ^0.10 || ^0.11" }, "require-dev": { "ext-libxml": "*",