MadelineProto/.php_cs.dist

15 lines
332 B
Plaintext
Raw Normal View History

2019-09-02 17:08:36 +02:00
<?php
$config = new Amp\CodeStyle\Config();
$config->getFinder()
->in(__DIR__ . '/src')
->in(__DIR__ . '/tests')
2019-10-29 22:00:21 +01:00
->in(__DIR__ . '/examples')
2020-09-24 11:45:20 +02:00
->in(__DIR__ . '/tools');
2019-09-02 17:08:36 +02:00
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;
$config->setCacheFile($cacheDir . '/.php_cs.cache');
return $config;