-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phpcs ignoreWarnings does not work in CLI mode #119
Comments
Can't reproduce it. $ phpqa tools | grep phpcs
| phpcs | 3.2.3 | Greg Sherwood
# add some long line to one file
$ cat .phpqa.yml | grep ignoreWarnings
ignoreWarnings: true
$ bin/ci.sh 2>/dev/null | grep "| phpcs"
| phpcs | 0 | 0 | ✓ | build//phpcs.html |
$
$ cat .phpqa.yml | grep ignoreWarnings
ignoreWarnings: false
$ bin/ci.sh 2>/dev/null | grep "| phpcs"
| phpcs | 0 | 1 | x | build//phpcs.html | Anyway I don't like using |
hum ok, I retry. I search where I make a mistake |
Ok
Same run in travis
|
I've try to run cs standalone and in qa in same travis run.
(...)
(...)
|
OK I've found "WHY"because I add --output=cli, the check fail. but only on travis run.
(...)
|
You are right, |
oh thanks thanks thanks |
ignoreWarnings: in my .phpqa.yml seems ignored.
1° set true the output cli show warnings
2° final repport too
I've solve it
.../vendor/edgedesign/phpqa/src/Tools/Analyzer/Phpcs.php
I've added
in
https://patch-diff.githubusercontent.com/raw/EdgedesignCZ/phpqa/pull/120.patch
The text was updated successfully, but these errors were encountered: