mirror of
https://github.com/danog/sql.git
synced 2024-11-30 04:29:18 +01:00
11 lines
225 B
Plaintext
11 lines
225 B
Plaintext
|
<?php
|
||
|
|
||
|
$config = new Amp\CS\Config\Amp();
|
||
|
$config->getFinder()->in(__DIR__);
|
||
|
|
||
|
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;
|
||
|
|
||
|
$config->setCacheFile($cacheDir . '/.php_cs.cache');
|
||
|
|
||
|
return $config;
|