Permalink
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (6 sloc) 231 Bytes
<?php
$config = new Prooph\CS\Config\Prooph();
$config->getFinder()->in(__DIR__);
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;
$config->setCacheFile($cacheDir . '/.php_cs.cache');
return $config;