coldtrick/sniffs

There is no license information available for the latest version (0.1.0) of this package.

Elgg coding standards

0.1.0 2014-07-19 07:47 UTC

This package is auto-updated.

Last update: 2020-05-07 21:07:57 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>