forked from webmozarts/console-parallelization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php-cs-fixer.php
41 lines (34 loc) · 1.06 KB
/
.php-cs-fixer.php
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
30
31
32
33
34
35
36
37
38
39
40
41
<?php declare(strict_types=1);
/*
* This file is part of the Fidry\Console package.
*
* (c) Théo FIDRY <theo.fidry@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Fidry\PhpCsFixerConfig\FidryConfig;
use PhpCsFixer\Finder;
$finder = Finder::create()
->in(__DIR__)
->append([
'.github/fix-symfony-versions',
'set-composer-conflicts.php',
])
->exclude([
'dist',
'tests/Integration/var',
]);
$config = new FidryConfig(
// The header comment used
<<<'EOF'
This file is part of the Webmozarts Console Parallelization package.
(c) Webmozarts GmbH <office@webmozarts.com>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF,
// The min PHP version supported (best to align with your composer.json)
81_000,
);
$config->setCacheFile(__DIR__.'/dist/.php-cs-fixer.cache');
return $config->setFinder($finder);