wmde / Diff

䷂ Library for diffing, patching and representing differences between objects
BSD 3-Clause "New" or "Revised" License
200 stars 15 forks source link

Exclude PHPCS messages instead of setting severity to 0 #59

Closed thiemowmde closed 8 years ago

thiemowmde commented 8 years ago

In this case this is only for style, to have a uniform best practice across all our PHPCS rule sets.

When you exclude a whole sniff (e.g. "Vendor.Namespace.Sniff"), the sniff is not run and the test runs faster. This is not possible here, because this sniff can report two things, and only one should be disabled.