Skip to content

Commit 6242785

Browse files
adapted for output improvement
1 parent 74e54b7 commit 6242785

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

ecs.php

+8-7
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,21 @@
99
return static function (ECSConfig $ecsConfig): void {
1010
$ecsConfig->paths([__DIR__ . '/src', __DIR__ . '/tests']);
1111

12-
$ecsConfig->ruleWithConfiguration(ArraySyntaxFixer::class, [
13-
'syntax' => 'short',
14-
]);
15-
1612
$ecsConfig->sets([
1713
// run and fix, one by one
1814
SetList::SPACES,
1915
SetList::ARRAY,
2016
SetList::DOCBLOCK,
21-
SetList::SYMPLIFY,
17+
// #memo - messes with COMMENTS blocks
18+
// SetList::SYMPLIFY,
2219
// #memo - adds declare(strict_types=1)
2320
// SetList::COMMON,
2421
SetList::CLEAN_CODE,
25-
// #memo - join comment lines and then break them without starting with * (star)
26-
// SetList::PSR_12,
22+
SetList::PSR_12,
2723
]);
24+
25+
$ecsConfig->ruleWithConfiguration(ArraySyntaxFixer::class, [
26+
'syntax' => 'short',
27+
]);
28+
2829
};

0 commit comments

Comments
 (0)