protonlabs/php-coding-standard
最新稳定版本:v7.0.0
Composer 安装命令:
composer require protonlabs/php-coding-standard
包简介
ProtonLabs Coding Standard
README 文档
README
Installation & Usage
Install the package with composer
composer req protonlabs/php-coding-standard --dev
To use it in your phpcs xml, add a rule pointing to the ruleset.xml
<?xml version="1.0"?> <ruleset name="ProtonLabs PHP CodeSniffer Standard"> <!-- Proton Coding Standard – https://github.com/ProtonMail/php-coding-standard --> <rule ref="vendor/protonlabs/php-coding-standard/Proton/ruleset.xml"> <!-- sniffs to exclude --> <!-- <exclude name="SlevomatCodingStandard.PHP.UselessParentheses"/> --> </rule> <exclude-pattern>*/vendor/*</exclude-pattern> </ruleset>
统计信息
- 总下载量: 49.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-19