1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 10:19:00 +01:00
MadelineProto/.php-cs-fixer.dist.php

15 lines
332 B
PHP
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;