diff --git a/.github/workflows/compat_tests.yaml.yml b/.github/workflows/compat_tests.yaml.yml index 59a4ff2..832bbf8 100644 --- a/.github/workflows/compat_tests.yaml.yml +++ b/.github/workflows/compat_tests.yaml.yml @@ -13,8 +13,8 @@ jobs: matrix: actions: - - name: 'Rector dev + PHPUnit 10' - run: composer require "phpunit/phpunit:10.*" "nikic/php-parser:4.*" -W + name: 'Rector dev + PHPUnit 8' + run: composer require "phpunit/phpunit:8.*" "nikic/php-parser:4.10.0" -W php: 8.2 - name: 'Rector dev + PHPUnit 11' diff --git a/README.md b/README.md index db80ae6..04c5d98 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Todo * [x] add simple custom rule test -* [x] run with PHPUnit 10, 11, 12 +* [x] run with PHPUnit 8, 11, 12 * [x] add PHPStan custom test too * everything should pass * add this to `rectorphp/rector-src` CI to verify everything works well :) diff --git a/tests/UsePHPParser4Test.php b/tests/UsePHPParser4Test.php index 52a230b..862c9d5 100644 --- a/tests/UsePHPParser4Test.php +++ b/tests/UsePHPParser4Test.php @@ -1,6 +1,6 @@ = 11) { - $this->markTestSkipped('Only for PHPUnit 11+'); + $this->markTestSkipped('Only for PHPUnit < 11'); } // this uses nikic/php-parser v4 parser