Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 488 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 488 Bytes

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>