1
0
mirror of https://github.com/danog/file.git synced 2024-12-02 09:17:57 +01:00
file/.php_cs.dist

13 lines
270 B
Plaintext
Raw Normal View History

2017-06-17 23:41:57 +02:00
<?php
$config = new Amp\CodeStyle\Config();
$config->getFinder()
2019-09-14 05:04:47 +02:00
->in(__DIR__ . '/src')
->in(__DIR__ . '/test');
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;
$config->setCacheFile($cacheDir . '/.php_cs.cache');
return $config;