-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
composer.lock | ||
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters