-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.php_cs
More file actions
29 lines (22 loc) · 763 Bytes
/
.php_cs
File metadata and controls
29 lines (22 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/*
* This file is part of the Pattern Library Builder library.
*
* Copyright (c) 2017-present LIN3S <info@lin3s.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
use LIN3S\PhpCsFixerConfig\Lin3sConfig;
$config = new Lin3sConfig('Pattern Library Builder', '2017', 'library');
$config->getFinder()->in([
__DIR__ . '/src',
__DIR__ . '/tests/Application/app',
__DIR__ . '/tests/Application/bin',
__DIR__ . '/tests/Application/src',
__DIR__ . '/tests/Application/web',
]);
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__;
$config->setCacheFile($cacheDir . '/.php_cs.cache');
return $config;