diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 91c9599..fd3cebd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,17 +8,21 @@ jobs: strategy: matrix: - php: [8.0, 8.1] + php: [8.2, 8.3, 8.4, 8.5] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Setup PHP 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 diff --git a/composer.json b/composer.json index 5c712df..e13bde4 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "homepage": "https://codeception.com/", "require": { - "php": "^8.0", + "php": "^8.2", "codeception/codeception": "*@dev", "symfony/finder": "^4.4 || ^5.4 || ^6.0 || ^7.0" }, diff --git a/readme.md b/readme.md index 9925de2..0c09ad5 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,7 @@ A Codeception module for testing local filesystem. ## Requirements -* `PHP 8.0` or higher. +* `PHP 8.2` or higher. ## Installation diff --git a/tests/unit.suite.yml b/tests/unit.suite.yml index c45c871..0f81bbb 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" actor: UnitTester