libgraviton/codesniffer

Installs: 23 376

Dependents: 8

Suggesters: 0

Security: 0

Stars: 1

Watchers: 21

Forks: 0

Open Issues: 0

Type:phpcs-standard

v2.1.0 2018-01-10 13:47 UTC

This package is auto-updated.

Last update: 2024-10-17 20:20:04 UTC


README

PHP CodeSniffer Ruleset ENTB

PHP CodeSniffer ruleset used throughout libgraviton and in libgraviton based projects.

Defines a phpcs ruleset called “ENTB” that is in active use.

Installation

Use composer like so

{
  "require-dev": {
    "libgraviton/codesniffer": "*",
  }
}

or clone the git repo into an existing PEAR/PHP_CodeSniffer installation.

cd `pear config-get php_dir`/PHP/CodeSniffer/Standards
git clone https://github.com/libgraviton/codesniffer-ruleset-entb ENTB

Usage

Use the composer version

./vendor/bin/phpcs --standard=ENTB src/ test/

or the clone inside your PEAR directory.

phpcs --standard=ENTB src/ test/

Developers

Please submit proper pull requests if you would like to influence our coding standard for the better.