Skip to content

Commit

Permalink
add cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
widmogrod committed Oct 22, 2016
1 parent ce4989e commit c9df9cb
Show file tree
Hide file tree
Showing 2 changed files with 545 additions and 4 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "widmogrod/php-functional",
"description": "Functors, Applicative and Monads are fascinating concept. Purpose of this library is to explore them in OOP PHP world.",
"require-dev": {
"phpunit/phpunit": "^4.7"
"phpunit/phpunit": "^4.7",
"fabpot/php-cs-fixer": "^1.12"
},
"license": "MIT",
"authors": [
Expand All @@ -13,7 +14,8 @@
],
"prefer-stable": true,
"scripts": {
"test": "phpunit"
"test": "phpunit",
"fix-code": "php-cs-fixer fix src/ && php-cs-fixer fix test/ && php-cs-fixer fix example/"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit c9df9cb

Please sign in to comment.