Repository URL to install this package:
|
Version:
1.3.3 ▾
|
crazyfactory/sniffs
/
README.md
|
|---|
Crazy Factory default code styles to be used with Squizlabs' codesniffer.
Copy phpcs.example.xml over to your project and rename it to phpcs.xml
Remove the <file> tag that does not exist in your project.
Run composer require-dev squizlabs/php_codesniffer
Add shortcuts to composer.json
"scripts": {
"lint": "phpcs",
"lint:fix": "phpcbf"
}