https://github.com/joomla/jed-checker-coding-standards
JED Checker Coding Standards
https://github.com/joomla/jed-checker-coding-standards
Last synced: about 1 year ago
JSON representation
JED Checker Coding Standards
- Host: GitHub
- URL: https://github.com/joomla/jed-checker-coding-standards
- Owner: joomla
- Created: 2019-07-05T13:06:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-12T07:03:04.000Z (about 7 years ago)
- Last Synced: 2025-06-15T01:29:42.653Z (about 1 year ago)
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jed-checker-coding-standards
JED Checker Coding Standards
This repository migrated the Jed checker rules to PHPCS3.x.
## Requirements
* PHP 5.6+
* [PHP Codesniffer](https://github.com/squizlabs/PHP_CodeSniffer) 3.3.0+
* [Joolma coding standards](https://github.com/joomla/coding-standards/tree/3.x-dev)
* 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