Update test/ci-lint
Now, PHP_CodeSniffer will exit with a non-zero code if any errors or warnings are found. Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
parent
0912a1f178
commit
44862584b7
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
./vendor/bin/phpcs --version &&
|
||||
./vendor/bin/phpcs -n --report=summary &&
|
||||
./vendor/bin/phpcs --exclude=PSR1.Files.SideEffects,Generic.Metrics.NestingLevel &&
|
||||
|
||||
echo "ESLint `./node_modules/.bin/eslint --version`" &&
|
||||
./node_modules/.bin/eslint --quiet ./js
|
||||
|
||||
Loading…
Reference in New Issue
Block a user