1
0
mirror of https://github.com/danog/file.git synced 2024-11-30 04:19:39 +01:00
file/.php_cs.dist
Aaron Piotrowski 1ca28699c7
lib → src
2019-09-13 22:06:22 -05:00

13 lines
270 B
PHP

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