uuid/ecs.php

28 lines
567 B
PHP

<?php
declare(strict_types=1);
use PhpCsFixer\Fixer\Import\NoUnusedImportsFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withPaths([
__DIR__ . '/public',
__DIR__ . '/src',
])
->withRootFiles()
->withRules([
NoUnusedImportsFixer::class,
])
->withPhpCsFixerSets(
per: true,
php84Migration: true,
)
->withPreparedSets(
arrays: true,
comments: true,
controlStructures: true,
strict: true,
cleanCode: true,
)
;