Skip to content

Commit

Permalink
update ecs config to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybrad committed Nov 26, 2022
1 parent c1068dd commit 700f903
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ecs.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
<?php

declare(strict_types=1);

use craft\ecs\SetList;
use Symplify\EasyCodingStandard\Config\ECSConfig;

return static function(ECSConfig $ecsConfig): void {
$ecsConfig->parallel();
$ecsConfig->paths([
__DIR__ . '/bootstrap',
__DIR__ . '/src',
__DIR__ . '/tests',
__FILE__,
]);

$ecsConfig->parallel();
$ecsConfig->sets([SetList::CRAFT_CMS_4]);
};

0 comments on commit 700f903

Please sign in to comment.