janpecha/code-checker

Code checker.

Installs: 4 334

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:project

v2.8.0 2024-07-15 10:11 UTC

This package is auto-updated.

Last update: 2024-12-15 11:00:11 UTC


README

Build Status Downloads this Month Latest Stable Version License

Donate

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/