ecs.php
Rama 5.x · réplica de lectura del repositorio original.
<?php
use craft\ecs\SetList;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return static function(ECSConfig $ecsConfig): void {
$ecsConfig->paths([
__DIR__ . '/bootstrap',
__DIR__ . '/scripts',
__DIR__ . '/src',
__DIR__ . '/tests',
__FILE__,
]);
$ecsConfig->skip([
__DIR__ . '/src/icons/index.php',
__DIR__ . '/tests/unit/helpers/typecast',
]);
$ecsConfig->parallel();
$ecsConfig->sets([SetList::CRAFT_CMS_4]);
};