Repository URL to install this package:
|
Version:
1.3.3 ▾
|
| scripts |
| src |
| tests |
| .gitignore |
| .travis.yml |
| README.md |
| composer.json |
| phpcs.example.xml |
| phpunit.xml |
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"
}