Skip to content
Snippets Groups Projects
README.md 1.54 KiB

About

Composer plugin installs PHP_CodeSniffer Standards.

Build Status Latest Stable Version Total Downloads License

Requirements

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

Installation

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

Change the type of your composer package to php-codesniffer-standards

Your composer.json should looks like:

{
    "name": "vendor/my-php-codesniffer-standards",
    "description": "My codesniffer standards",
    "type": "php-codesniffer-standards",
    "require": {
        "higidi/composer-phpcodesniffer-standards-plugin": "^1.0"
    }
}