Permalink
Browse files

Added "php-cs-fxer" as a dev dependency and set it tun run in travis ci

  • Loading branch information...
1 parent 40a34f3 commit 790290c62361fbf75b15b960fe14af32d2d11576 @tedivm committed Jan 29, 2014
Showing with 6 additions and 1 deletion.
  1. +3 −1 .travis.yml
  2. +3 −0 composer.json
View
@@ -8,4 +8,6 @@ php:
before_script: composer install --dev
-script: phpunit --verbose --coverage-text
+script:
+ -phpunit --verbose --coverage-text
+ -vendor/fabpot/php-cs-fixer/php-cs-fixer fix ./src --dry-run --level="all" -vv
View
@@ -14,6 +14,9 @@
"require": {
"php": ">=5.3.0"
},
+ "require-dev": {
+ "fabpot/php-cs-fixer": "0.4.0"
+ },
"autoload": {
"psr-0": {"JShrink": "src/"}
}

0 comments on commit 790290c

Please sign in to comment.