From cc3076fe73d08702220da37bd22d2a14a913461f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Tue, 21 Apr 2026 11:21:12 +0200 Subject: [PATCH 1/2] cs: Update PHP-CS-Fixer --- .github/workflows/cs.yaml | 3 --- Makefile | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/cs.yaml b/.github/workflows/cs.yaml index 66541e4..94f41da 100644 --- a/.github/workflows/cs.yaml +++ b/.github/workflows/cs.yaml @@ -17,9 +17,6 @@ jobs: coding-standards: runs-on: ubuntu-latest - env: - PHP_CS_FIXER_IGNORE_ENV: '1' - strategy: matrix: operating-system: [ ubuntu-latest ] diff --git a/Makefile b/Makefile index dc07ef5..cec7399 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ help: # PHP CS Fixer PHP_CS_FIXER=./.tools/php-cs-fixer -PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.35.1/php-cs-fixer.phar" +PHP_CS_FIXER_URL="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v3.95.1/php-cs-fixer.phar" # PHPUnit PHPUNIT=vendor/bin/phpunit From e7fca5f3e8f7107473c1fdf225b5d8c0a10c9024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20FIDRY?= Date: Tue, 21 Apr 2026 11:23:47 +0200 Subject: [PATCH 2/2] update --- .gitignore | 2 +- .php-cs-fixer.php | 7 +------ src/CodeceptionAdapter.php | 3 +-- src/CodeceptionAdapterFactory.php | 3 +-- src/CodeceptionConfigParseException.php | 3 +-- src/CommandLineBuilder.php | 3 +-- src/Coverage/JUnitTestCaseSorter.php | 3 +-- src/Stringifier.php | 3 +-- src/VersionParser.php | 3 +-- tests/phpunit/Adapter/CodeceptionAdapterFactoryTest.php | 3 +-- tests/phpunit/Adapter/CodeceptionAdapterTest.php | 3 +-- .../Adapter/CodeceptionConfigParseExceptionTest.php | 3 +-- tests/phpunit/Adapter/Coverage/JUnitTestCaseSorterTest.php | 3 +-- tests/phpunit/Adapter/StringifierTest.php | 3 +-- tests/phpunit/Adapter/VersionParserTest.php | 3 +-- tests/phpunit/FileSystem/FileSystemTestCase.php | 3 +-- tests/phpunit/Helpers.php | 3 +-- 17 files changed, 17 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 6cb4684..2c4fd92 100644 --- a/.gitignore +++ b/.gitignore @@ -6,10 +6,10 @@ /.php-cs-fixer.cache /.tools/ /build/ +/composer.lock /infection.log /tests/**/_generated/ /tests/**/_output/ /tests/e2e/*/var/ /var/ /vendor/ -/composer.lock diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 11147f1..e71a9f1 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -1,4 +1,5 @@ setRiskyAllowed(true) ->setRules([ - '@PHP71Migration' => true, - '@PHP71Migration:risky' => true, - '@PHPUnit60Migration:risky' => true, - '@PHPUnit75Migration:risky' => true, '@Symfony' => true, '@Symfony:risky' => true, 'blank_line_before_statement' => [ diff --git a/src/CodeceptionAdapter.php b/src/CodeceptionAdapter.php index e054f02..f357da1 100644 --- a/src/CodeceptionAdapter.php +++ b/src/CodeceptionAdapter.php @@ -1,4 +1,5 @@