Skip to content

Elgg/elgg-coding-standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>