bizurkur/coding-standard

Bizurkur coding standard.

Installs: 5 669

Dependents: 5

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Type:phpcodesniffer-standard

This package has no released version yet, and little information is available.


README

Bizurkur coding standard for PHP_CodeSniffer. This heavily uses most of the Slevomat standard, with the addition of some others.

Installation

It's best to install using Composer.

$ composer require bizurkur/coding-standard --dev

Usage

In your phpcs.xml.dist file, add a rule:

<?xml version="1.0"?>
<ruleset name="AcmeProject">
    <rule ref="vendor/bizurkur/coding-standard/ruleset.xml">
        <!-- sniffs to exclude -->
    </rule>
</ruleset>

Or via the command line:

vendor/bin/phpcs --standard=vendor/bizurkur/coding-standard/ruleset.xml