coldtrick/sniffs

This package is abandoned and no longer maintained. The author suggests using the elgg/sniffs package instead.
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: 2023-06-02 09:03:10 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>