dev-master
9999999-dev https://github.com/thanpa/thanpa-coding-standardCodeSniffer ruleset for the Thanpa coding standard
MIT
The Requires
- php >=5.4.0
- squizlabs/php_codesniffer ~2.0
by Thanasis Papapanagiotou
phpcs coding standard thanpa
CodeSniffer ruleset for the Thanpa coding standard
A coding standard to check against the Thanpa coding standard., (*1)
This standard can be installed with the Composer dependency manager., (*2)
Install Composer, (*3)
Install the coding standard as a dependency of your project, (*4)
composer require --dev thanpa/thanpa-coding-standard:~1.0
Add the coding standard to the PHP_CodeSniffer install path, (*5)
bin/phpcs --config-set installed_paths vendor/thanpa/thanpa-coding-standard
Check the installed coding standard for "Thanpa", (*6)
bin/phpcs -i
Done!, (*7)
bin/phpcs /path/to/code
Install PHP_CodeSniffer, (*8)
Checkout this repository, (*9)
git clone git://github.com/thanpa/thanpa-coding-standard.git thanpa/thanpa-coding-standard
Add the coding standard to the PHP_CodeSniffer install path, (*10)
phpcs --config-set installed_paths thanpa/thanpa-coding-standard
Or copy/symlink this repository's "Thanpa"-folder inside the phpcs Standards
directory, (*11)
Check the installed coding standard for "Thanpa", (*12)
phpcs -i
Done!, (*13)
phpcs /path/to/code
CodeSniffer ruleset for the Thanpa coding standard
MIT
phpcs coding standard thanpa