-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathecs.php
More file actions
16 lines (13 loc) · 531 Bytes
/
ecs.php
File metadata and controls
16 lines (13 loc) · 531 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
declare(strict_types=1);
use PhpCsFixer\Fixer\PhpUnit\PhpUnitTestAnnotationFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withPaths([__DIR__ . '/src', __DIR__ . '/tests'])
->withRootFiles()
->withSkip([
'*/Fixture/*',
'*/Source/*',
PhpUnitTestAnnotationFixer::class => 'tests/Rules/UnusedPublicClassMethodRule/Fixture/SkipTestCaseAnnotationMethod.php',
])
->withPreparedSets(common: true, psr12: true, cleanCode: true, symplify: true);