Ignore errors and warnings in PHPCS
Refs: https://github.com/thephpleague/skeleton/pull/41#issuecomment-104071697 Thanks to @gsherwood
This commit is contained in:
parent
4b35187e4b
commit
861d69077f
|
@ -36,8 +36,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"test": "phpunit",
|
||||
"check-codestyle": "phpcs -p --standard=PSR2 src tests",
|
||||
"fix-codestyle": "phpcbf -p --standard=PSR2 src tests"
|
||||
"check-codestyle": "phpcs -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
|
||||
"fix-codestyle": "phpcbf -p --standard=PSR2 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
|
|
Loading…
Reference in New Issue