1
0
mirror of https://github.com/danog/pipesbot.git synced 2024-11-29 20:08:57 +01:00
pipesbot/.php_cs.dist

12 lines
233 B
Plaintext
Raw Permalink Normal View History

2019-10-28 23:48:44 +01:00
<?php
$config = new Amp\CodeStyle\Config();
$config->getFinder()
->in(__DIR__);
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;
$config->setCacheFile($cacheDir . '/.php_cs.cache');
return $config;