aik099 / CodingStandard

The PHP_CodeSniffer coding standard I'm using on all of my projects
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Validate that no space exists before semicolon #72

Closed aik099 closed 9 years ago

aik099 commented 9 years ago

There is https://github.com/joomla/coding-standards/blob/master/Sniffs/WhiteSpace/SemicolonSpacingSniff.php sniff that we can use. Not sure who does that, but would be nice to get it auto-fixed.

aik099 commented 9 years ago

Turns out that such sniff exists in Squiz standard and was enabled from the beginning.