This contains sniffs to be used with phpcs (PHP_CodeSniffer).
- 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>