Skip to content

Commit 38b984c

Browse files
committed
chore: point composer cs/cs:fix at phpcs/phpcbf
The ecs binary is not installed; syde/phpcs provides phpcs and phpcbf, which match the existing phpcs.xml.dist config.
1 parent 9061105 commit 38b984c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
"analyse": [
8383
"phpstan analyse"
8484
],
85-
"cs": "ecs check",
86-
"cs:fix": "ecs check --fix",
85+
"cs": "phpcs",
86+
"cs:fix": "phpcbf",
8787
"i18n:json": "wp i18n make-json languages --no-purge --pretty-print",
8888
"i18n:pot": "wp i18n make-pot . languages/pfcpt.pot --domain=pfcpt --slug=pfcpt --exclude=tests,vendor,node_modules,build,tmp,wp-content,docs",
8989
"test": [

0 commit comments

Comments
 (0)