Some checks failed
Cadoles/hydra-sql/pipeline/pr-develop There was a failure building this commit
28 lines
719 B
PHP
28 lines
719 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Renaming\Rector\Class_\RenameAttributeRector;
|
|
use Rector\Symfony\Set\SymfonySetList;
|
|
|
|
return static function (RectorConfig $rectorConfig): void {
|
|
$rectorConfig->paths([
|
|
__DIR__ . '/src',
|
|
]);
|
|
|
|
$rectorConfig->sets([
|
|
SymfonySetList::SYMFONY_60,
|
|
SymfonySetList::SYMFONY_61,
|
|
SymfonySetList::SYMFONY_62,
|
|
SymfonySetList::SYMFONY_63,
|
|
SymfonySetList::SYMFONY_64,
|
|
SymfonySetList::SYMFONY_CODE_QUALITY,
|
|
SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION,
|
|
]);
|
|
|
|
$rectorConfig->importShortClasses(false);
|
|
$rectorConfig->skip([
|
|
RenameAttributeRector::class
|
|
]);
|
|
}; |