Composer plugin installs PHP_CodeSniffer Standards.
PHP >= 5.4- Composer package providing the PHP CodeSniffer Rulesets & Sniffs
$ composer require higidi/composer-phpcodesniffer-standards-pluginChange the type of your composer package to phpcodesniffer-standard (or optional to phpcodesniffer-standards, both will work)
Your composer.json should looks like:
{
"name": "vendor/my-php-codesniffer-standards",
"description": "My codesniffer standards",
"type": "phpcodesniffer-standard",
"require": {
"higidi/composer-phpcodesniffer-standards-plugin": "^1.0"
}
}Bug reports and feature requests can be submitted on the Issue Tracker