Skip to content

Commit

Permalink
Merge 4db306d into ac36fb2
Browse files Browse the repository at this point in the history
  • Loading branch information
drAlberT committed Jul 14, 2015
2 parents ac36fb2 + 4db306d commit 8ff424d
Show file tree
Hide file tree
Showing 4 changed files with 404 additions and 175 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -3,6 +3,9 @@ mage.phar
bin
!bin/mage

# development tools
.php_cs.cache

# OS generated files # // GitHub Recommendation
######################
.DS_Store*
Expand Down
12 changes: 12 additions & 0 deletions .php_cs
@@ -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
8 changes: 7 additions & 1 deletion composer.json
Expand Up @@ -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": {
Expand All @@ -25,6 +26,11 @@
"MageTest\\": "./tests/MageTest"
}
},
"scripts": {
"cs-fix": [
"php-cs-fixer -vv -n fix; echo"
]
},
"config": {
"bin-dir": "bin"
},
Expand Down

0 comments on commit 8ff424d

Please sign in to comment.