Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mysiar/coding-standard


https://github.com/mysiar/coding-standard

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# Mysiar\CodingStandard

[![Latest Stable Version](https://poser.pugx.org/mysiar/coding-standard/v)](https://packagist.org/packages/mysiar/coding-standard) [![Total Downloads](https://poser.pugx.org/mysiar/coding-standard/downloads)](https://packagist.org/packages/mysiar/coding-standard) [![Latest Unstable Version](https://poser.pugx.org/mysiar/coding-standard/v/unstable)](https://packagist.org/packages/mysiar/coding-standard) [![License](https://poser.pugx.org/mysiar/coding-standard/license)](https://packagist.org/packages/mysiar/coding-standard)

coding standard based on PSR2 & [slevomat/coding-standard](https://github.com/slevomat/coding-standard)

## Install

* `composer require --dev mysiar/coding-standard`
* `cp vendor/mysiar/coding-standard/ruleset.xml .`

## Execute
* `phpcs --standard=./ruleset.xml --extensions=php`

## Versions

* `1.x.x` uses slevomat/coding-standard ver 5
* `2.x.x` uses slevomat/coding-standard ver 6