Elgg coding standards for PHP_CodeSniffer
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Elgg/Sniffs
.gitignore
README.md
composer.json
composer.lock
elgg.xml

README.md

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=elgg.xml.
  • Get a summary report on the engine with vendor/bin/phpcs --standard=elgg.xml -l --report=summary <Elgg engine lib directory>