-
Notifications
You must be signed in to change notification settings - Fork 1
/
.php-cs-fixer.dist.php
36 lines (31 loc) · 1.16 KB
/
.php-cs-fixer.dist.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
<?php
/**
* @link https://tasko.de/ tasko Products GmbH
* @copyright (c) tasko Products GmbH 2022
* @license http://www.opensource.org/licenses/mit-license.html MIT License
*
* This file is part of tasko-products/symfony-prometheus-exporter.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
$finder = new PhpCsFixer\Finder();
$finder->in(__DIR__ . '/src/')
->in(__DIR__ . '/tests/');
$additionalHeaderInformation = <<<HEADER
This file is part of tasko-products/symfony-prometheus-exporter.
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
HEADER;
return (new PhpCsFixer\Config())
->setRules(TaskoProducts\Codestyle\PhpCsFixer::getRules(
TaskoProducts\Codestyle\PhpCsFixer::getHeaderRule(
TaskoProducts\Codestyle\PhpCsFixer::COPYRIGHT_TASKO,
TaskoProducts\Codestyle\PhpCsFixer::LICENSE_MIT,
'http://www.tasko-products.de/ tasko Products GmbH',
$additionalHeaderInformation,
),
))
->setFinder($finder)
;