Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

✅ [DEPRECATED] Checkstyle reporter for PHP, utilising phpcs, phpmd, php linter and php-cs-fixer

License

benmatselby/atom-php-checkstyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • PHP_CodeSniffer (phpcs)
  • Linter (php -l)
  • PHP Mess Detector (phpmd)
  • Fix the issues using the PHP Coding Standards Fixer (php-cs-fixer) application

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:

  • List view
  • Gutter view
  • Status bar view

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;

About

✅ [DEPRECATED] Checkstyle reporter for PHP, utilising phpcs, phpmd, php linter and php-cs-fixer

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5