Skip to content

Commit 2338061

Browse files
committed
chore: add composer cs-fix command
1 parent 4b9f333 commit 2338061

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@
5858
"rector process",
5959
"@style"
6060
],
61+
"cs": "php-cs-fixer fix --ansi --verbose --dry-run --diff",
62+
"cs-fix": "php-cs-fixer fix --ansi --verbose --diff",
63+
"style": "@cs-fix",
6164
"deduplicate": "phpcpd app/ src/",
6265
"inspect": "deptrac analyze --cache-file=build/deptrac.cache",
6366
"mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit",
6467
"patch": "patch",
6568
"retool": "retool",
66-
"style": "php-cs-fixer fix --verbose --ansi --using-cache=no",
6769
"test": "phpunit"
6870
}
6971
}

0 commit comments

Comments
 (0)