1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 11:14:40 +01:00
MadelineProto/.php_cs.dist

16 lines
350 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')
->in(__DIR__ . '/tools')
2019-10-28 19:48:59 +01:00
->in(__DIR__);
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;