diff --git a/composer.json b/composer.json index 3c4ff80e6..e6ceaa1ee 100644 --- a/composer.json +++ b/composer.json @@ -64,7 +64,6 @@ "rector process", "@style" ], - "cs-fix": "@style", "deduplicate": "phpcpd app/ src/", "inspect": "deptrac analyze --cache-file=build/deptrac.cache", "mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit", @@ -72,7 +71,8 @@ "phpstan analyze", "psalm" ], - "style": "php-cs-fixer fix --verbose --ansi --using-cache=no", + "cs-fix": "php-cs-fixer fix --ansi --verbose --diff --using-cache=yes", + "style": "@cs-fix", "test": "phpunit" } }