Skip to content

higidi/composer-phpcodesniffer-standards-plugin

Repository files navigation

About

Composer plugin installs PHP_CodeSniffer Standards.

build status coverage report Latest Stable Version Total Downloads License

Requirements

  • PHP >= 5.4
  • Composer package providing the PHP CodeSniffer Rulesets & Sniffs

Installation

$ composer require higidi/composer-phpcodesniffer-standards-plugin

Change 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"
    }
}

Issues

Bug reports and feature requests can be submitted on the Issue Tracker