miaoxing/coding-standards

This package is abandoned and no longer maintained. The author suggests using the miaoxing/dev package instead.

Miaoxing develop scripts


README

GitHub Workflow Status Coverage Status License

PHPCS 使用方法

  1. 取出到本地
git clone https://github.com/miaoxing/dev.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'