-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathecs.php
More file actions
15 lines (12 loc) · 572 Bytes
/
ecs.php
File metadata and controls
15 lines (12 loc) · 572 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
declare(strict_types=1);
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withPaths([__DIR__ . '/src', __DIR__ . '/tests'])
->withRootFiles()
->withSkip([
// these fixtures use PHP 8.3 features, we cannot check them wit lower versions
__DIR__ . '/tests/Rules/ConstantTypeCoverageRule/Fixture/SkipKnownConstantType.php',
__DIR__ . '/tests/Rules/ConstantTypeCoverageRule/Fixture/UnknownConstantType.php',
])
->withPreparedSets(common: true, psr12: true, cleanCode: true, symplify: true);