This commit is contained in:
AlberT 2017-01-02 22:49:33 +00:00 committed by GitHub
commit ecfca9cb93
4 changed files with 412 additions and 183 deletions

3
.gitignore vendored
View file

@ -3,6 +3,9 @@ mage.phar
bin
!bin/mage
# development tools
.php_cs.cache
# OS generated files # // GitHub Recommendation
######################
.DS_Store*

12
.php_cs Normal file
View file

@ -0,0 +1,12 @@
<?php
return Symfony\CS\Config\Config::create()
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
->setUsingCache(true)
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->in(__DIR__)
)
;
// vim:ft=php

View file

@ -11,7 +11,8 @@
"require-dev": {
"phpunit/phpunit": "4.3.5",
"satooshi/php-coveralls": ">=0.6.1",
"php-mock/php-mock": "^0.1"
"php-mock/php-mock": "^0.1",
"fabpot/php-cs-fixer": "*"
},
"autoload": {
"psr-4": {
@ -25,6 +26,11 @@
"MageTest\\": "./tests/MageTest"
}
},
"scripts": {
"cs-fix": [
"php-cs-fixer -vv -n fix; echo"
]
},
"config": {
"bin-dir": "bin"
},

572
composer.lock generated

File diff suppressed because it is too large Load diff