mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
30 lines
641 B
PHP
30 lines
641 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symplify\EasyCodingStandard\Config\ECSConfig;
|
|
|
|
return ECSConfig::configure()
|
|
->withParallel()
|
|
->withCache(__DIR__ . '/tools/.cache/ecs')
|
|
->withPaths([
|
|
__DIR__ . '/assets',
|
|
__DIR__ . '/config',
|
|
__DIR__ . '/public',
|
|
__DIR__ . '/src',
|
|
__DIR__ . '/tests',
|
|
__DIR__ . '/tools',
|
|
])
|
|
->withSkip([
|
|
__DIR__ . '/tools/.cache',
|
|
__DIR__ . '/config/bundles.php',
|
|
__DIR__ . '/config/reference.php',
|
|
])
|
|
->withPreparedSets(
|
|
psr12: true,
|
|
common: true,
|
|
strict: true,
|
|
cleanCode: true,
|
|
)
|
|
;
|