Skip to content

Commit 9e597b3

Browse files
committed
Composer: Remove script and call PHPCS directly
Has the advantages of: - working on Windows machines. - extra CLI args such as `--sniffs` can be passed when calling `composer cs`.
1 parent ff8c1d8 commit 9e597b3

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

bin/phpcs

Lines changed: 0 additions & 12 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"bin/php-lint",
4141
"bin/xml-lint"
4242
],
43-
"cs": "bin/phpcs",
43+
"cs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
4444
"test": "bin/unit-tests",
4545
"test-coverage": "bin/unit-tests-coverage",
4646
"feature-completeness": [

0 commit comments

Comments
 (0)