From 543ed92438b9e6011e90cb01130bf57ab38e9197 Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 5 Dec 2025 11:51:16 +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 0dc8ef4..d8342f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 From f305a7a9a197613ec08e42f67750770916652ae9 Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 5 Dec 2025 11:51:34 +0100 Subject: [PATCH 2/3] Drop support for PHP < 8.2 --- .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 d8342f1..8f5afdd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - php: [8.0, 8.1, 8.2, 8.3, 8.4] + php: [8.2, 8.3, 8.4] steps: - name: Checkout code diff --git a/composer.json b/composer.json index 143490f..b9526a2 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ ], "minimum-stability": "RC", "require": { - "php": "^8.0", + "php": "^8.2", "codeception/codeception": "^5.0.0-RC1", "php-amqplib/php-amqplib": "^2.10 | ^3.0" }, diff --git a/readme.md b/readme.md index da71b28..cad9424 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ An AMQP module for Codeception. ## Requirements -* `PHP 8.0` or higher. +* `PHP 8.2` or higher. ## Installation From dcbaa611b9503c418d7213bf413badab5c4fb672 Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 5 Dec 2025 11:53:12 +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 8f5afdd..4669a19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,18 +14,30 @@ jobs: strategy: matrix: - php: [8.2, 8.3, 8.4] + php: [8.2, 8.3, 8.4, 8.5] 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