From e3d034eedd4100122c2365a2f6bd34ff23111e5e Mon Sep 17 00:00:00 2001 From: Dieter Beck Date: Fri, 6 Dec 2024 09:09:02 +0100 Subject: [PATCH 1/5] Fix minimum required PHP version --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 08f3049..7099c3b 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ Redis module for Codeception ## Requirements -* `PHP 7.4` or higher. +* `PHP 8.0` or higher. ## Installation From 7d35acff0a873bdb82d268d6595be960ae8778c9 Mon Sep 17 00:00:00 2001 From: Dieter Beck Date: Fri, 6 Dec 2024 09:11:45 +0100 Subject: [PATCH 2/5] PHP 8.4: avoid usage of 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 dc82ae8..5f0213b 100644 --- a/tests/unit.suite.yml +++ b/tests/unit.suite.yml @@ -1,2 +1,2 @@ -error_level: "E_ALL | E_STRICT" +error_level: "E_ALL" class_name: UnitTester From 3cb93c4595e83bbef4d6754bf1bdccc754d63438 Mon Sep 17 00:00:00 2001 From: Dieter Beck Date: Fri, 6 Dec 2024 09:12:15 +0100 Subject: [PATCH 3/5] 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 1d5fd87..06782d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 From 45689ea30f72716442465b010a9d577fb046ccae Mon Sep 17 00:00:00 2001 From: Dieter Beck Date: Fri, 6 Dec 2024 09:12:28 +0100 Subject: [PATCH 4/5] 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 06782d9..c3fb64c 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] + php: [8.0, 8.1, 8.2, 8.3, 8.4] steps: - name: Checkout code From ffc94ba7e7f0e690196bea2617aa1df2a716dcae Mon Sep 17 00:00:00 2001 From: W0rma Date: Fri, 21 Feb 2025 07:22:30 +0100 Subject: [PATCH 5/5] Allow sebastian/comparator ^7.0 to support PHPUnit 12 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0c7a0ce..8f1b342 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "php": "^8.0", "codeception/codeception": "^5.0", "predis/predis": "^1.1 | ^2.0", - "sebastian/comparator": "^4.0 | ^5.0 | ^6.0" + "sebastian/comparator": "^4.0 | ^5.0 | ^6.0 | ^7.0" }, "autoload": { "classmap": [