diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 078f9254..37c2db05 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -18,5 +18,5 @@ jobs: with: php-version: 8.2 coverage: xdebug - tools: php-cs-fixer, cs2pr - - run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr + tools: cs2pr + - run: vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr diff --git a/composer.json b/composer.json index 4f59d5f2..b7f9d8e3 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ }, "require-dev": { "phpunit/phpunit": "^10.1", - "symfony/var-dumper": "^6.3" + "symfony/var-dumper": "^6.3", + "friendsofphp/php-cs-fixer": "^3.35" }, "suggest": { "symfony/var-dumper": "Required to use the dump method (^6.3)."