aik099 / coding-standard
The PHP_CodeSniffer coding standard I'm using on all of my projects.
v1.0.0
2018-12-08 11:05 UTC
Requires (Dev)
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ~2.0
This package is auto-updated.
Last update: 2026-03-06 10:27:42 UTC
README
The PHP_CodeSniffer coding standard I'm using on all of my projects.
Standard itself and it's test suite complies PHPCS standard.
Usage
Only PHP_CodeSniffer 3.x and later versions are supported. For PHP_CodeSniffer 1.x and 2.x use "1.0" branch.
- clone this repository
- run following command in project directory:
$> phpcs --standard="/path/to/CodingStandard/CodingStandard" library tests
or by make your IDE (instructions for PhpStorm) to check them automatically.