forked from kmielke/calendar-extended-bundle
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ecs.php
24 lines (20 loc) · 707 Bytes
/
ecs.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
<?php
declare(strict_types=1);
use PhpCsFixer\Fixer\Comment\HeaderCommentFixer;
use PhpCsFixer\Fixer\ControlStructure\TrailingCommaInMultilineFixer;
use PhpCsFixer\Fixer\PhpUnit\PhpUnitExpectationFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return static function (ECSConfig $ecsConfig): void {
$year = date('Y');
$ecsConfig->ruleWithConfiguration(HeaderCommentFixer::class, [
'header' => <<<EOF
This file is part of cgoit\\calendar-extended-bundle for Contao Open Source CMS.
@copyright Copyright (c) Kester Mielke
@copyright Copyright (c) $year, cgoIT
@author Kester Mielke
@author cgoIT <https://cgo-it.de>
@license LGPL-3.0-or-later
EOF
,
]);
};