janpecha / code-checker
Code checker.
Installs: 4 218
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: 8.2 - 8.3
- czproject/assert: ^1.4
- czproject/git-php: ^4.0
- czproject/path-helper: ^4.1
- czproject/php-simple-ast: ^1.2
- nette/code-checker: ^3.2
- symfony/yaml: ^7.0
Requires (Dev)
- nette/tester: ^2.4
README
Installation
Download a latest package or use Composer:
composer require janpecha/code-checker
CodeChecker requires PHP 8.2 or later.
Usage
Usage:
php code-checker [options]
Options:
-c <path> Config file
-f | --fix Fixes files
--no-progress Do not show progress dots
--step-by-step Stops on change or report
--git Enables GIT support (auto commit of changes)
Config file code-checker.php
:
<?php return function (JP\CodeChecker\CheckerConfig $config) { $config->addPath(__DIR__ . '/app'); JP\CodeChecker\AutoConfig::configure($config); };
Based on Nette\CodeChecker.
License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/