-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathecs.php
More file actions
19 lines (14 loc) · 633 Bytes
/
ecs.php
File metadata and controls
19 lines (14 loc) · 633 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
declare(strict_types=1);
use PhpCsFixer\Fixer\ReturnNotation\ReturnAssignmentFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
return static function (ECSConfig $ecsConfig): void {
$ecsConfig->sets([SetList::PSR_12, SetList::SYMPLIFY, SetList::COMMON, SetList::CLEAN_CODE]);
$ecsConfig->paths([__DIR__ . '/src', __DIR__ . '/tests', __DIR__ . '/config', __DIR__ . '/ecs.php']);
$ecsConfig->skip([
'*/Source/*', '*/Fixture/*',
// breaks annotated code - removed on symplify dev-main
ReturnAssignmentFixer::class,
]);
};