Skip to content

joomla/jed-checker-coding-standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

jed-checker-coding-standards

JED Checker Coding Standards

This repository migrated the Jed checker rules to PHPCS3.x.

Requirements

  • PHP 5.6+
  • PHP Codesniffer 3.3.0+
  • Joolma coding standards
  • Once installed (or copied), copy the "Joomla" folder into /root/.config/composer/vendor/joomla/coding-standards/Joomla. This will add our rules and sniffs. We must also overwrite the file located into /root/.config/composer/vendor/squizlabs/php_codesniffer/src/Reporter.php with the Reporter.php included here.

Running

You can use the installed jed standard like:

phpcs --standard=jed path/to/code

Alternatively if it isn't installed you can still reference it by path like:

phpcs --standard=path/to/jed/ExampleRulesets/Joomla-JEDChecker.xml path/to/code

About

JED Checker Coding Standards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages