coldtrick / sniffs
Elgg coding standards
Fund package maintenance!
ColdTrick
www.paypal.me/ColdTrick
Requires
- squizlabs/php_codesniffer: >=1.3.4
This package is auto-updated.
Last update: 2023-06-02 09:03:10 UTC
README
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=elgg.xml
. - Get a summary report on the engine with
vendor/bin/phpcs --standard=elgg.xml -l --report=summary <Elgg engine lib directory>