Custom PHP CS Rules
Add the following to your composer.json
file:
"repositories" : [
{
"type": "vcs",
"url": "[email protected]:WeareJH/php-coding-standards.git"
}
]
Then run:
composer require wearejh/php-coding-standards:dev-master --dev
Assuming you have phpcs installed:
./vendor/bin/phpcs -s /folder/to/code --standard=vendor/wearejh/php-coding-standards/Jh