Skip to content

Commit

Permalink
Updated ECS config
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <[email protected]>
  • Loading branch information
betterthanclay committed Apr 29, 2024
1 parent 09e2994 commit 8996816
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@
declare(strict_types=1);

use Symplify\EasyCodingStandard\Config\ECSConfig;
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;

return static function (ECSConfig $ecsConfig): void {
$ecsConfig->paths([__DIR__ . '/src']);
$ecsConfig->sets([SetList::CLEAN_CODE, SetList::PSR_12]);
};
return ECSConfig::configure()
->withPaths([
__DIR__ . '/src'
])
->withPreparedSets(
cleanCode: true,
psr12: true
);

0 comments on commit 8996816

Please sign in to comment.