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
atom-plugin checkstyle phpcs

PHP Checkstyle

Build Status

This plugin is no longer actively maintained as Atom Linter has replicated all the functionality I was offering

This plugin is for the Atom editor from GitHub, and aims to provide “Checkstyle” integration for PHP.

The plugin supports:

You can configure which commands above you want to execute, be it all of them, or just one of them, such as the linter.

The plugin renders the errors in the following formats, again configurable:

You can customise the colours used in the gutter by providing your own stylesheet, just override the css colours for the 3 CSS classes:

.php-checkstyle-report-phpcs
.php-checkstyle-report-phpmd
.php-checkstyle-report-lint

the defaults colours are:

@background-color-phpcs: #3292B8;
@background-color-phpmd: #A087DE;
@background-color-lint: @background-color-error;