PHP_CodeSniffer standard used by Imbo and related projects.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
composer.json

README.md

Imbo Coding Standard

This is the PHP_CodeSniffer coding standard used by Imbo and other related projects.

Installation

Add the following to the require(-dev) part of your composer.json file:

"imbo/imbo-phpcs-standard": "dev-master"

or any other released version. dev-master is always the latest stable release, and dev-develop is the latest unstable release, use with caution.

Usage

Refer to the standard by using the --standard argument to the phpcs command:

phpcs --standard=vendor/imbo/imbo-phpcs-standard/src /path/to/your/code