We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9ace5d commit beb528fCopy full SHA for beb528f
2 files changed
.travis.yml
@@ -18,4 +18,4 @@ script:
18
- composer install -o --prefer-dist --no-interaction
19
20
# Check project with phps
21
- - ./vendor/bin/phpcs -n -p .
+ - composer run lint
composer.json
@@ -16,5 +16,8 @@
16
"require-dev": {
17
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"wp-coding-standards/wpcs": "0.12.0"
+ },
+ "scripts": {
+ "lint": "./vendor/bin/phpcs --standard=./phpcs.xml -n -p ."
22
}
23
0 commit comments