Ignore warnings from PHPCS in pre-commit

This commit is contained in:
Claudio Sanches 2019-01-14 18:04:44 -02:00
parent b25665add9
commit 2efe077678
2 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,9 @@
"phpcs": [
"phpcs -s -p"
],
"phpcs-pre-commit": [
"phpcs -s -p -n"
],
"phpcbf": [
"phpcbf -p"
]

View File

@ -74,7 +74,7 @@
"linters": {
"*.php": [
"php -d display_errors=1 -l",
"composer run-script phpcs"
"composer run-script phpcs-pre-commit"
],
"*.scss": [
"stylelint --syntax=scss --fix",