boekkooi/php-cs-fixer-checker
Composer 安装命令:
composer require boekkooi/php-cs-fixer-checker
包简介
A extension for the Broadway package with extra's like tactician usage and other tweaks
README 文档
README
This project is currently just a proof of concept
This is a extension of the PHP Coding Standards Fixer project. It adds a set of checks to the fixer because some times the fixer can't fix a problem but you do want it to report that problem.
The main reason for adding this extension and not using PHP CodeSniffer is because I can't handle writing custom checks for it.
Example .php_cs
<?php return \Boekkooi\CS\Config::create() ->setDir(__DIR__.'/src') ->checkers(array( // new \Boekkooi\CS\Checker\Contrib\FinalClassChecker(), // new \Boekkooi\CS\Checker\Contrib\NoMethodWithArgumentsChecker(), new \Boekkooi\CS\Checker\Psr4Checker(), )) ->setRules(array( '@PSR2' => true )) ;
统计信息
- 总下载量: 172
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-27