GigaOM/gigaom-codesniffer — pull request #18 by zbtirrell (2014-04-22 13:09:57+00:00)
Title: improved the end comment sniff

- Adds support for end class comments that include the name
- Fails on //end If or //end IF or //end iF
- Adds check of comments if they exist on structures shorter than 10 lines, previously it would skip the check completely, so you could use //end else on an if as long as it was short. Or get the wrong function name on a short function
- Adds support for a space after the // on an end class comment