Elgg coding standards for PHP_CodeSniffer
Switch branches/tags
Nothing to show
Pull request Compare This branch is 21 commits behind Elgg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Sniffs
ElggCodingStandard.php
README.markdown

README.markdown

Elgg coding standards for PHP_CodeSniffer

This is the set of sniffs is used with PHP_CodeSniffer.

Installation and Usage

  • Install PHP_CodeSniffer with pear install PHP_CodeSniffer.
  • Checkout this repository as Elgg into the PHP/CodeSniffer/Standards directory.
  • Use the coding standard with phpcs --standard=Elgg.
  • Get a summary report on the engine with phpcs --standard=Elgg -l --report=summary <Elgg engine lib directory>