kamazee/pr-filter
Composer 安装命令:
composer require kamazee/pr-filter
包简介
Tool for narrowing code quality tools reporting for pull requests
README 文档
README
PR Filter
Filter checkstyle.xml according to a diff
Usage
phpcs -q --report=checkstyle | sponge phpcs-checkstyle.xml git diff main > main.diff vendor/bin/prf filter-checkstyle main.diff phpcs-checkstyle.xml filtered-checkstyle.xml --base-path=$(pwd)
Options
prf filter-checkstyle [-b|--base-path=] diff infile [outfile]
| Argument | Description | |
|---|---|---|
--base-path |
-b |
If set, will be removed from paths in checkstyle.xml |
| positional, required | diff | Path to diff file |
| positional, required | infile | Path to checkstyle.xml to be filtered |
| positional, optional | outfile | Path to filtered checkstyle.xml, or will overwrite infile |
统计信息
- 总下载量: 33.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 16
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-19