ldc-arcadia-api/rector.php
Jérémy Munsch e8280b1f1d
refactor(phpcs): update ruleset name and remove unused rules
refactor(pint): change preset to psr12 and add version

refactor(rector): simplify configuration and remove Laravel-specific sets
2026-08-28 17:52:54 +02:00

23 lines
498 B
PHP

<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\SetList;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/src',
__DIR__ . '/tests',
])
->withPhpSets()
->withSets([
SetList::PHP_POLYFILLS,
SetList::CODE_QUALITY,
SetList::DEAD_CODE,
SetList::PRIVATIZATION,
SetList::TYPE_DECLARATION,
SetList::EARLY_RETURN,
SetList::INSTANCEOF,
SetList::IF,
]);