Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

mainlycode/coding-standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mainlycode/coding-standards

Coding standard configuration for MainlyCode PHP projects using fabpot/php-cs-fixer

Installation

$ composer require mainlycode/coding-standards

Examples

Only check for coding standard violations:

$ ./vendor/bin/php-cs-fixer fix --dry-run --diff --config-file=vendor/mainlycode/coding-standard/.php_cs

Fix coding standard violations:

$ ./vendor/bin/php-cs-fixer fix --diff --config-file=vendor/mainlycode/coding-standard/.php_cs