1
0
mirror of https://github.com/danog/file.git synced 2024-11-29 20:09:10 +01:00
file/.php_cs.dist
2018-10-27 10:57:31 -05:00

13 lines
270 B
PHP

<?php
$config = new Amp\CodeStyle\Config();
$config->getFinder()
->in(__DIR__ . '/lib')
->in(__DIR__ . '/test');
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;
$config->setCacheFile($cacheDir . '/.php_cs.cache');
return $config;