-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.php_cs
More file actions
29 lines (24 loc) · 702 Bytes
/
.php_cs
File metadata and controls
29 lines (24 loc) · 702 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
$finder = PhpCsFixer\Finder::create()
->exclude([
'.github',
'build',
'docs',
'tests',
'vendor',
])
->notPath('psalm_autoload.php')
->in(__DIR__);
$header = 'Copyright (c) 2021 Kenji Suzuki
For the full copyright and license information, please view
the LICENSE file that was distributed with this source code.
@see https://github.com/kenjis/monkey-patch';
$config = new PhpCsFixer\Config();
return $config->setRules([
'header_comment' => [
'header' => $header,
'comment_type' => 'comment',
'location' => 'after_declare_strict'
]
])
->setFinder($finder);