File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ $ header = <<<'HEADER'
4
+ This file is part of the API Platform project.
5
+
6
+ (c) Kévin Dunglas <[email protected] >
7
+
8
+ For the full copyright and license information, please view the LICENSE
9
+ file that was distributed with this source code.
10
+ HEADER;
11
+
3
12
$ finder = PhpCsFixer \Finder::create ()
4
13
->in (__DIR__ )
5
14
->exclude ('tests/Fixtures/app/cache ' )
@@ -17,6 +26,10 @@ return PhpCsFixer\Config::create()
17
26
'allow_single_line_closure ' => true ,
18
27
],
19
28
'declare_strict_types ' => true ,
29
+ 'header_comment ' => [
30
+ 'header ' => $ header ,
31
+ 'location ' => 'after_open ' ,
32
+ ],
20
33
'modernize_types_casting ' => true ,
21
34
// 'native_function_invocation' => true,
22
35
'no_extra_consecutive_blank_lines ' => [
You can’t perform that action at this time.
0 commit comments