From 3c5f81f725eb158355385849dd457d61676fb187 Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 5 Dec 2025 12:08:57 +0100 Subject: [PATCH 1/3] Bump actions/checkout version --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0c6601..44e5196 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 From 5b441b034d65dce5d2827df7a75deaff49050dc0 Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 5 Dec 2025 12:09:15 +0100 Subject: [PATCH 2/3] Drop support for PHP 8.1 --- .github/workflows/main.yml | 2 +- composer.json | 2 +- readme.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 44e5196..0f3d836 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - php: [8.1, 8.2, 8.3, 8.4] + php: [8.2, 8.3, 8.4] composer-options: ["", "--prefer-lowest"] steps: 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 a9d9dc552319b69c0b16c025b97166a9602d734a Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 5 Dec 2025 12:11:44 +0100 Subject: [PATCH 3/3] Test against PHP 8.5 --- .github/workflows/main.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f3d836..48b431d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,19 +11,31 @@ jobs: strategy: matrix: - php: [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@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