From 1296d56eca4e4ef1d3aeea4c60eeb45e719718b4 Mon Sep 17 00:00:00 2001 From: W0rma Date: Mon, 11 Nov 2024 08:26:44 +0100 Subject: [PATCH 1/4] Test against PHP 8.3 + 8.4 --- .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 cefff8d..9d4735d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - php: [8.0, 8.1, 8.2] + php: [8.0, 8.1, 8.2, 8.3, 8.4] steps: - name: Checkout code From 076698d5472421115fd4eaa75cc83009e0edcee0 Mon Sep 17 00:00:00 2001 From: W0rma Date: Mon, 11 Nov 2024 08:26:59 +0100 Subject: [PATCH 2/4] Bump actions/checkout dependency --- .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 9d4735d..ec22633 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 From 6a283959b598e13cf038fe2c82df47bd5748a1a5 Mon Sep 17 00:00:00 2001 From: W0rma Date: Mon, 11 Nov 2024 08:27:22 +0100 Subject: [PATCH 3/4] PHP 8.4: Do not use the deprecated constant E_STRICT --- tests/unit.suite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit.suite.yml b/tests/unit.suite.yml index 5399cf4..1c448f5 100644 --- a/tests/unit.suite.yml +++ b/tests/unit.suite.yml @@ -1,5 +1,5 @@ # Codeception Test Suite Configuration # suite for unit (internal) tests. -error_level: "E_ALL | E_STRICT" +error_level: "E_ALL" class_name: UnitTester From 69af9837c63ae18f83bac840a861ec514b09c5d9 Mon Sep 17 00:00:00 2001 From: W0rma Date: Mon, 11 Nov 2024 08:35:44 +0100 Subject: [PATCH 4/4] Drop support for PHP 8.0 --- .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 ec22633..d273d49 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - php: [8.0, 8.1, 8.2, 8.3, 8.4] + php: [8.1, 8.2, 8.3, 8.4] steps: - name: Checkout code diff --git a/composer.json b/composer.json index 7f24489..5370628 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ ], "homepage": "https://codeception.com/", "require": { - "php": "^8.0", + "php": "^8.1", "codeception/codeception": "*@dev", "codeception/lib-asserts": "^2.0" }, diff --git a/readme.md b/readme.md index 6abd2f9..0a4ab33 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ A Codeception module containing various assertions. ## Requirements -* `PHP 8.0` or higher. +* `PHP 8.1` or higher. ## Installation