pekral/rulezilla
Composer 安装命令:
composer require pekral/rulezilla
包简介
PHP - list of rules for writing clear code.
README 文档
README
List of rules for writing clear code in PHP.
Installation
composer require --dev pekral/rulezilla
Config
stopOnFailure: (bool) value // Stop processes if last excuted command return fail sttaus code
parallel: (bool) value // Run commands in parallel threads
Supported tools
Lint
https://github.com/php-parallel-lint/PHP-Parallel-Lint
php rulezilla lint:run
Phpcpd
https://github.com/sebastianbergmann/phpcpd
php rulezilla phpcpd:run
Phpcs (with fixer support)
https://github.com/squizlabs/PHP_CodeSniffer
php rulezilla phpcs:run
php rulezilla phpcs:fix
Phpmnd
https://github.com/povils/phpmnd
php rulezilla phpmnd:run
Phpstan
https://github.com/phpstan/phpstan
php rulezilla phpstan:run
Phpunit
https://github.com/phpunit/phpunit
php rulezilla phpunit:run
Rector (with fixer support)
https://github.com/rector/rector
php rulezilla rector:run
php rulezilla rector:fix
Executing all commands
php rulezilla run
Executing command with debug info
php rulezilla {command} --debug=true
统计信息
- 总下载量: 264
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-21