diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfbad11..8ab4cff 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - php: [7.1, 7.2, 7.3, 7.4, 8.0] + php: [7.4, 8.0, 8.1] steps: - name: Checkout code diff --git a/composer.json b/composer.json index c65a50d..5c46e29 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ ], "minimum-stability": "RC", "require": { - "php": "^7.1 || ^8.0", + "php": "^7.4 || ^8.0", "codeception/lib-asserts": "^1.13.1", "codeception/codeception": "*@dev" }, diff --git a/readme.md b/readme.md index f08a426..df23ddd 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ A Codeception module containing various assertions. ## Requirements -* `PHP 7.1` or higher. +* `PHP 7.4` or higher. ## Installation diff --git a/tests/unit/Codeception/Module/AssertsTest.php b/tests/unit/Codeception/Module/AssertsTest.php index 48230d9..21b3c76 100644 --- a/tests/unit/Codeception/Module/AssertsTest.php +++ b/tests/unit/Codeception/Module/AssertsTest.php @@ -15,8 +15,7 @@ final class AssertsTest extends TestCase { - /** @var Asserts */ - protected $module; + protected ?Asserts $module = null; public function _setUp() {