Threshold for build fail
Issue #5
resolved
Just like the PMD plugin proposal (issue #8), this plugin should have configurable thresholds for Total, Error, Warning, Info, and Ignore.
Comments (5)
-
reporter -
repo owner Hi Jakob - which tool are you using exactly? https://github.com/checkstyle/checkstyle ? https://github.com/squizlabs/PHP_CodeSniffer ?
-
reporter I'm using phpcs from squizlabs
-
repo owner If you have too many violations atm, I would suggest reducing reports generated by phpcs.
Maybe you want to try showing only errors
phpcs -n ...
Or show only violations in the most important package
phpcs ... some/package
In my opinion, reducing the reports to what gives you useful information is more useful than just cutting off the violations at some point.
-
repo owner - changed status to resolved
Closing here, as "dead" issue.
- Log in to comment
I would love to start using the checkstyle and pmd plugins, but we simply have too many violations atm. I would need to start out with a high threshold, and gradually lower it over time.