lam/rector.php
2023-10-12 07:59:09 +02:00

21 lines
438 B
PHP

<?php
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__ . '/lam/lib',
__DIR__ . '/lam/templates',
__DIR__ . '/lam/tests',
]);
$rectorConfig->skip([
__DIR__ . '/lam/lib/3rdParty',
]);
$rectorConfig->sets([
SetList::DEAD_CODE,
]);
};