kdyby / code-checker
This package is abandoned and no longer maintained.
No replacement package was suggested.
A simple tool to check source code against a set of coding standards.
v1.0.1
2016-07-08 21:29 UTC
Requires
- php: >= 5.4
- latte/latte: 2.3.*
- nette/command-line: 1.1.*
- nette/finder: 2.3.*
- nette/neon: 2.3.*
- nette/utils: 2.3.*
This package is auto-updated.
Last update: 2022-02-01 12:59:42 UTC
README
A simple tool to check source code against a set of Nette coding standards.
Code Checker requires PHP 5.4 or newer. The best way how to install is to use a Composer:
composer create-project kdyby/code-checker
Note that this is a tool and not a library, so it cannot be installed using the command composer require.
Usage:
php code-checker.php [options]
Options:
-d <path> folder to scan (default: current directory)
-i | --ignore <mask> files or directories to ignore (can be used multiple times)
-f | --fix fixes files
-l | --eol convert newline characters
--short-arrays enforces PHP 5.4 short array syntax