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

Simplify capitalization check in comments #64

Closed aik099 closed 9 years ago

aik099 commented 9 years ago

In https://github.com/squizlabs/PHP_CodeSniffer/commit/c45a2a984919bd3d596c8d33f05ae3cb53728616 commit the change was made to only requre 1st comment letter in uppercase when 1st symbol is a lowercase letter. Same needs to be done in our standard as well (InlineComment sniff) instead of allowing extra digit to act as 1st symbol.