Skip to content

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

License

Notifications You must be signed in to change notification settings

mzk/code-checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Checker

Downloads this Month Build Status Latest Stable Version License

Introduction

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

Documentation can be found on the website.

If you like Nette, please make a donation now. Thank you!

Usage

code-checker [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
	--no-progress         do not show progress dots
	--strict-types        checks whether PHP 7.0 directive strict_types is enabled

Installation

It requires PHP version 7.1 and supports PHP up to 7.2. (Version 2.x works with PHP 5.6.)

Install it via Composer. This project is not meant to be run as a dependency, so install it as standalone:

composer create-project nette/code-checker

Or install it globally via:

composer global require nette/code-checker

and make sure your global vendor binaries directory is in your $PATH environment variable.

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%