1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-12-03 09:47:49 +01:00
byte-stream/.php_cs.dist

11 lines
228 B
Plaintext
Raw Normal View History

<?php
2018-09-21 22:45:13 +02:00
$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;