cs

A Coding Standard for PHP_CodeSniffer

Stars
8

BEAR, A Coding Standard for PHP_CodeSniffer

  • ≒ PSR-2
  • fix, add some.
  • PHPMDのメッセージを日本語化

Installation

  • Install PHP_CodeSniffer with pear install PHP_CodeSniffer (PHP_CodeSniffer 1.3 or later is required).
  • Checkout this repository. git clone https://github.com/koriym/cs.git /path/to/PHP/CodeSniffer/Standards/BEAR directory.
  • Set the default coding standars. phpcs config-set standard BEAR.