-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathecs.php
More file actions
28 lines (22 loc) · 780 Bytes
/
ecs.php
File metadata and controls
28 lines (22 loc) · 780 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
<?php
declare (strict_types=1);
use PhpCsFixer\Fixer\Comment\HeaderCommentFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return static function (ECSConfig $config): void {
$header = <<<HEADER
This file is part of the JobRouter REST Client.
https://github.com/jobrouter/php-rest-client
For the full copyright and license information, please view the
LICENSE.txt file that was distributed with this source code.
HEADER;
$config->import(__DIR__ . '/vendor/brotkrueml/coding-standards/config/common.php');
$config->paths([
__DIR__ . '/src',
__DIR__ . '/tests',
]);
$config->ruleWithConfiguration(HeaderCommentFixer::class, [
'comment_type' => 'comment',
'header' => $header,
'separate' => 'both',
]);
};