kayw/quality-hook-installer
最新稳定版本:1.0.24
Composer 安装命令:
composer require kayw/quality-hook-installer
包简介
Install an execute script of specify quality tools to your git pre-commit hook, and it executes only for changed files
README 文档
README
Install an execute script of specify quality tools to your git pre-commit hook, and it executes only for changed files
Install
composer global require kayw/quality-hook-installer
Usage
quality run install --phpstan --php-cs-fixer- Execute
git add .in your project. git commit -m 'xxx'- The pre-commit hook will be triggered and the PHPStan and PHPCsFixer will execute only for changed files.
Commands
The following command will execute quality inspection only for changed files
quality run --phpstan --php-cs-fixer
The following command will write in your pre-commit of git hook
quality run install --phpstan --php-cs-fixer
The following command will remove your pre-commit of git hook
quality run uninstall
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-08