cakephp/cakephp-codesniffer — pull request #51 by dereuromark (2013-10-12 23:01:06+00:00)
Title: Simplify and reduce redundancy.

I recommend simplifying this sniff. There is no need for the redundancy.
Currently it would report everything twice:

12 | ERROR | Double space found (CakePHP.WhiteSpace.TabAndSpace)
12 | ERROR | Expected 1 space before "*"; 2 found
| | (CakePHP.WhiteSpace.OperatorSpacing.SpacingBefore)

All we need, though, is the 0 space issue:

8 | ERROR | Expected 1 space after "*"; 0 found
| | (CakePHP.WhiteSpace.OperatorSpacing.NoSpaceAfter)

Also, using phpcs-fixer then later on, it will also be automatically corrected via TabAndSpace sniff anyway.