Skip to content

Commit

Permalink
Updated ECS config
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wright <tom@inflatablecookie.com>
  • Loading branch information
betterthanclay committed Apr 29, 2024
1 parent d936538 commit 8eb39bf
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 8eb39bf

Please sign in to comment.