forked from terminal42/contao-tablelookupwizard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs.php
21 lines (17 loc) · 757 Bytes
/
ecs.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
declare(strict_types=1);
use PhpCsFixer\Fixer\Comment\HeaderCommentFixer;
use PhpCsFixer\Fixer\Whitespace\MethodChainingIndentationFixer;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use Symplify\EasyCodingStandard\ValueObject\Option;
return static function (ContainerConfigurator $containerConfigurator): void {
$containerConfigurator->import(__DIR__.'/tools/ecs/vendor/contao/easy-coding-standard/config/self.php');
$parameters = $containerConfigurator->parameters();
$parameters->set(Option::SKIP, [
'/contao/*',
HeaderCommentFixer::class => null,
MethodChainingIndentationFixer::class => [
'*/DependencyInjection/Configuration.php',
],
]);
};