nexylan/coding-standard
Composer 安装命令:
composer require nexylan/coding-standard
包简介
The Nexylan PHP coding standard
README 文档
README
The Nexylan Coding Standard is a set of configurations for many CS tools.
PHP_CodeSniffer (PHP)
Nexylan Coding Standard is based on PSR and Symfony standards plus some rules from Slevomat Coding Standard.
Usage
Install it globally with php-code-sniffer (RECOMMENDED):
composer global require nexylan/coding-standard
Or, as a dependency of your project:
composer require --dev nexylan/coding-standard
Then add the standard on your ruleset.xml file:
<?xml version="1.0"?> <ruleset name="My project standard"> <rule ref="Nexylan"/> </ruleset>
This is the quickest way, but you can of course personalize or disable some rules.
统计信息
- 总下载量: 1.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-12