belvg/phpqa-phpcbf
Composer 安装命令:
composer require belvg/phpqa-phpcbf
包简介
Add phpcbf validator for phpqa tools
README 文档
README
Configure phpqa.yml for using phpcbf code fixer:
phpcbf: # alternatively you can use an array to define multiple standards (https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage#specifying-a-coding-standard) standard: PSR2 # number of allowed errors is compared with warnings+errors, or just errors from checkstyle.xml ignoreWarnings: false outputMode: 2 #in section tools tool: phpcbf: Edge\QA\Tools\Analyzer\Phpcbf
Now you can use it. There is error when phpqa create report, if phpcbf fixed errors there is display only 1 coount error. But if we go to web version we will see correct information
统计信息
- 总下载量: 74
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-17