diff --git a/.gitattributes b/.gitattributes index 789106a..cdcc774 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,4 +8,3 @@ phpstan.neon export-ignore phpunit.xml.dist export-ignore docs/ export-ignore tests/ export-ignore -stubs/ export-ignore diff --git a/CHANGELOG.md b/CHANGELOG.md index ab9516b..9a7579d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v0.5.6 (2024-04-29) +* Fixed Veneer stubs in gitattributes + ## v0.5.5 (2024-04-26) * Updated Archetype dependency diff --git a/ecs.php b/ecs.php index 4e7e999..b904391 100644 --- a/ecs.php +++ b/ecs.php @@ -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 + );