"repositories": [
{
"type": "vcs",
"url": "[email protected]:DX-Solutions/coding-standards.git"
}
],
$ composer require --dev "dx/coding-standard:dev-master"
grumphp.yml:
phpcs:
standard: "DX"
$ php vendor/bin/phpcs --standard=DX <path to source files>
$ php vendor/bin/phpcs --standard=DX <path to source files> -n
$ php vendor/bin/phpcs --standard=DX <path to source files> -s
$ php vendor/bin/phpcbf --standard=DX <path to source files>