Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
:sparkles: New sniff to verify that spaces are used for mid-line alignment #942
This new sniff covers the second part of this rule. (The first part is already covered by the
The error which is thrown is auto-fixable.
The new sniff has been added to the
Violations against this sniff in the WPCS codebase have been fixed.
N.B.: I consider this sniff a candidate for pulling upstream to
N.B.2: This sniff could probably do with some additional unit tests, but I couldn't think of any more, so ideas/code snippets welcome. (The run over the WPCS code base did not yield any incorrect fixes or false positives, so I'm not too worried)