Show warnings instead errors

Issue #7 resolved
Former user created an issue

Hello Markus,

we run phpcs task with PSR2 and own rules. In same cases our results includes "warnings" An example:

<?xml version="1.0" encoding="UTF-8"?> <phpcs version="3.2.3"> <file name="/PATH/FILE" errors="0" warnings="2" fixable="0"> <warning line="132" column="152" source="Generic.Files.LineLength.TooLong" severity="5" fixable="0">Line exceeds 140 characters; contains 152 characters</warning> <warning line="133" column="152" source="Generic.Files.LineLength.TooLong" severity="5" fixable="0">Line exceeds 140 characters; contains 152 characters</warning> </file> </phpcs>

If the next step your plugin, our build process will broken. Can you help us? Can we use "Errors" and "Warnings" in our result-file?

Best regards, Christian

Comments (2)

  1. Log in to comment