dev-master
9999999-devLibrary of modified PSR rules for PHP_CodeSniffer
MIT
The Requires
0.1.0
0.1.0.0Library of modified PSR rules for PHP_CodeSniffer
MIT
The Requires
Library of modified PSR rules for PHP_CodeSniffer
This is a simple library of modified PSR rules for PHP_CodeSniffer., (*2)
If you don't have Composer install it:, (*3)
$ curl -s https://getcomposer.org/installer | php
Add jakubzapletal/php_codesniffer-rules
to composer.json
:, (*4)
$ composer require --dev jakubzapletal/php_codesniffer-rules ~0.1
Sometimes it is a coding convention to write method names with an underscore in test classes. In this case you can still keep checking PSR-2 standard thanks to ruleset below., (*5)
$ vendor/bin/phpcs --standard=vendor/jakubzapletal/php_codesniffer-rules/psr2-without-camel-case-method-name.xml </PATH/TO/TESTED/FOLDER>
Library of modified PSR rules for PHP_CodeSniffer
MIT
Library of modified PSR rules for PHP_CodeSniffer
MIT