bytic/phpqaconfig
最新稳定版本:1.0.14
Composer 安装命令:
composer require bytic/phpqaconfig
包简介
Meta package for configuration files for PHP QA tools
README 文档
README
PHP Code Sniffer
Configuration file: bytic.phpcs.xml
Usage
-
Link bytic/qaconfig repo as composer dependency
$ composer require bytic/qaconfig:^1.0 -
Extend provided configuration to adapt it to your project.
<?xml version="1.0" encoding="UTF-8"?> <ruleset name="DEMO-PHP project code style checker config"> <rule ref="./vendor/bytic/qaconfig/bytic.phpcs.xml"> <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/> </rule> <rule ref="PSR1.Classes.ClassDeclaration"> <exclude-pattern>*/_stubs.php</exclude-pattern> </rule> <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement.Found"> <exclude-pattern>*/_stubs.php</exclude-pattern> </rule> </ruleset>
Inspiration
统计信息
- 总下载量: 1.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-28