elgg-coding-standards
elgg-coding-standards copied to clipboard
Elgg coding standards for PHP_CodeSniffer
Elgg coding standards for PHP_CodeSniffer
This contains sniffs to be used with phpcs (PHP_CodeSniffer).
Installation and Usage
- Install composer
- Install dependencies with
composer install - Use the coding standard with
vendor/bin/phpcs --standard=src/Elgg. - Get a summary report on the engine with
vendor/bin/phpcs --standard=src/Elgg -l --report=summary <Elgg engine lib directory>