Skip to content

Commit

Permalink
Add read.me file
Browse files Browse the repository at this point in the history
  • Loading branch information
portey committed May 10, 2017
1 parent d093508 commit c174202
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
composer.lock
/vendor
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Youshido Symfony2 PHP CodeSniffer Coding Standard

This standard copy [Symfony2](https://github.com/djoos/Symfony2-coding-standard) one with following changes:
- Concatenation spacing equal 1

### Installation

This standard can be installed with the [Composer](https://getcomposer.org/) dependency manager.

Install the coding standard as a dependency of your project

composer require --dev youshido/cs-code-standard

### Usage

Run CodeSniffer with following parameters to check your project code style:

./vendor/bin/phpcs --encoding=utf-8 --extensions=php --standard=./vendor/youshido/cs-code-standard ./src -p
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"minimum-stability": "dev",
"require": {
"escapestudios/symfony2-coding-standard": "^2.10"
},
"require-dev": {
"youshido/cs-code-standard": "dev-master"
}
}

0 comments on commit c174202

Please sign in to comment.