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

Change error code in ArraySniff #26

Closed aik099 closed 9 years ago

aik099 commented 10 years ago

The ArraySniff among other things check that no space is permitted before closing parenthesis of an inline array. The code for this error is SpaceAfterClose, but it should be SpaceBeforeClose instead.

This doesn't really break anything, but makes things harder to understand if you see error code only without corresponding error message.