Skip to content

Commit bb02752

Browse files
committed
chore: update composer cs-fix command
Use cache. No cache is slow. Make `cs-fix` default. CodeIgniter4 repository does not have `style` command.
1 parent fa994dc commit bb02752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@
6464
"rector process",
6565
"@style"
6666
],
67-
"cs-fix": "@style",
6867
"deduplicate": "phpcpd app/ src/",
6968
"inspect": "deptrac analyze --cache-file=build/deptrac.cache",
7069
"mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit",
7170
"sa": [
7271
"phpstan analyze",
7372
"psalm"
7473
],
75-
"style": "php-cs-fixer fix --verbose --ansi --using-cache=no",
74+
"cs-fix": "php-cs-fixer fix --ansi --verbose --diff --using-cache=yes",
75+
"style": "@cs-fix",
7676
"test": "phpunit"
7777
}
7878
}

0 commit comments

Comments
 (0)