Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysiar/coding-standard
https://github.com/mysiar/coding-standard
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/mysiar/coding-standard
- Owner: mysiar
- License: mit
- Created: 2019-07-01T16:20:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-23T17:09:40.000Z (over 4 years ago)
- Last Synced: 2024-08-11T18:33:16.098Z (3 months ago)
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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