File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 9
9
return static function (ECSConfig $ ecsConfig ): void {
10
10
$ ecsConfig ->paths ([__DIR__ . '/src ' , __DIR__ . '/tests ' ]);
11
11
12
- $ ecsConfig ->ruleWithConfiguration (ArraySyntaxFixer::class, [
13
- 'syntax ' => 'short ' ,
14
- ]);
15
-
16
12
$ ecsConfig ->sets ([
17
13
// run and fix, one by one
18
14
SetList::SPACES ,
19
15
SetList::ARRAY ,
20
16
SetList::DOCBLOCK ,
21
- SetList::SYMPLIFY ,
17
+ // #memo - messes with COMMENTS blocks
18
+ // SetList::SYMPLIFY,
22
19
// #memo - adds declare(strict_types=1)
23
20
// SetList::COMMON,
24
21
SetList::CLEAN_CODE ,
25
- // #memo - join comment lines and then break them without starting with * (star)
26
- // SetList::PSR_12,
22
+ SetList::PSR_12 ,
27
23
]);
24
+
25
+ $ ecsConfig ->ruleWithConfiguration (ArraySyntaxFixer::class, [
26
+ 'syntax ' => 'short ' ,
27
+ ]);
28
+
28
29
};
You can’t perform that action at this time.
0 commit comments