Skip to content

Dave3991/code-checker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

118 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Installation

The recommended way to install is via 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.

It requires PHP version 5.6 and supports PHP up to 7.2.

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
	--short-arrays        enforces PHP 5.4 short array syntax
	--strict-types        checks whether PHP 7.0 directive strict_types is enabled

About

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

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%