Skip to content

sallyx/code-checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Checker

Downloads this Month Build Status Latest Stable Version License

A simple tool to check source code against a set of Nette coding standards.

Code Checker requires PHP 5.3.1 or newer. The best way how to install is to use a Composer:

composer create-project nette/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

About

A simple tool to source code against a set of coding standards.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%