benmatselby / atom-php-checkstyle

✅ [DEPRECATED] Checkstyle reporter for PHP, utilising phpcs, phpmd, php linter and php-cs-fixer
MIT License
21 stars 5 forks source link

:lipstick: Add custom gutter colours per checking command #21

Closed Stubbs closed 10 years ago

Stubbs commented 10 years ago

Added custom CSS classes as suggested, which I append to each item when building the errorList. Because the classes are now needed in the gutter renderer I pass the whole array in rather than just parsing out the line number into a separate array. That was the easiest way to differentiate between different errors/warnings.

Fixes #20

benmatselby commented 10 years ago

Merged, thanks for the PR.