Skip to content

Commit 51e28e2

Browse files
committed
fix php-cs-fixer on travis
1 parent f954512 commit 51e28e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.php_cs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'strict_param' => true,
2323
'native_function_invocation' => false,
2424
))
25-
->setCacheFile(getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__.'/var/.php_cs.cache')
25+
->setCacheFile(getenv('TRAVIS') ? getenv('HOME') . '/php-cs-fixer/.php-cs-fixer' : __DIR__.'/var/.php_cs.cache')
2626
->setFinder(
2727
PhpCsFixer\Finder::create()
2828
->name('/\.php$/')

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ matrix:
3838
cache:
3939
directories:
4040
- $HOME/.composer/cache
41-
- $HOME/.php-cs-fixer
41+
- $HOME/php-cs-fixer
4242

4343
before_install:
4444
- echo "extension = mongodb.so" >> $HOME/.phpenv/versions/$(phpenv version-name)/etc/php.ini

0 commit comments

Comments
 (0)