benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
812 stars 126 forks source link

Added missing caption #75

Closed dprevite closed 11 years ago

dprevite commented 11 years ago

Without the caption Sublime was throwing an error. This fixes it.

benmatselby commented 11 years ago

Are you seing an empty caption as I am actually getting the correct caption based on https://github.com/benmatselby/sublime-phpcs/blob/master/phpcs.py#L651

If it is empty, what version of ST and OS are you running please?

benmatselby commented 11 years ago

OK, so it is ST2 that is affected due to trailing comma. Removed the trailing comma and tested in ST2 and is now working fine. Thank you for raising this.