forked from CodelyTV/php-ddd-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs.php
26 lines (21 loc) · 863 Bytes
/
ecs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
declare(strict_types=1);
use CodelyTv\CodingStyle;
use PhpCsFixer\Fixer\ClassNotation\FinalClassFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return function (ECSConfig $ecsConfig): void {
$ecsConfig->paths([__DIR__ . '/apps', __DIR__ . '/src', __DIR__ . '/tests', ]);
$ecsConfig->sets([CodingStyle::DEFAULT]);
$ecsConfig->skip([
FinalClassFixer::class => [
__DIR__ . '/apps/backoffice/backend/src/BackofficeBackendKernel.php',
__DIR__ . '/apps/backoffice/frontend/src/BackofficeFrontendKernel.php',
__DIR__ . '/apps/mooc/backend/src/MoocBackendKernel.php',
__DIR__ . '/src/Shared/Infrastructure/Bus/Event/InMemory/InMemorySymfonyEventBus.php',
],
__DIR__ . '/apps/backoffice/backend/var',
__DIR__ . '/apps/backoffice/frontend/var',
__DIR__ . '/apps/mooc/backend/var',
__DIR__ . '/apps/mooc/frontend/var',
]);
};