Skip to content

Commit

Permalink
Update to php-cs-fixer ^2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelstolt committed Dec 2, 2016
1 parent 93658a5 commit e3f4015
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .php_cs
Expand Up @@ -12,6 +12,5 @@ $cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;

return PhpCsFixer\Config::create()
->setRules($rules)
->finder($finder)
->setUsingCache(true)
->setFinder($finder)
->setCacheFile($cacheDir . '/.php_cs.cache');
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,10 @@ env:

matrix:
include:
- php: hhvm
- php: hhvm-3.9
sudo: required
dist: trusty
group: edge
- php: nightly
- php: 7.1
- php: 7.0
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -24,8 +24,8 @@
"ext-mbstring": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "2.0.0-alpha",
"phpunit/phpunit": "@stable"
"phpunit/phpunit": "@stable",
"friendsofphp/php-cs-fixer": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit e3f4015

Please sign in to comment.