boekkooi / php-cs-fixer-checker
A extension for the Broadway package with extra's like tactician usage and other tweaks
Installs: 172
Dependents: 1
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/boekkooi/php-cs-fixer-checker
Requires
- php: >=5.5
- fabpot/php-cs-fixer: ~2.0
- symfony/translation: ~2.3
- symfony/yaml: ~2.3
Requires (Dev)
- phpunit/phpunit: ~4.8
This package is not auto-updated.
Last update: 2025-09-28 00:18:39 UTC
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 )) ;