miaoxing/coding-standards

Installs: 2 923

Dependents: 14

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:phpstan-extension

v5.1.1 2020-06-24 02:14 UTC

README

使用方法

  1. 取出到本地
git clone https://github.com/miaoxing/coding-standards.git path/to/coding-standards
  1. 加入phpcs的安装目录
phpcs --config-set installed_paths path/to/coding-standards
  1. 检查安装结果
phpcs -i

# 输出包含"Miaoxing"
'The installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz, Zend and Miaoxing'