2021-05-11 16:11:30 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2022-04-12 11:52:08 +00:00
|
|
|
use Rector\Config\RectorConfig;
|
2021-05-11 16:11:30 +00:00
|
|
|
use Rector\Symfony\Set\SymfonySetList;
|
2024-01-02 02:40:38 +00:00
|
|
|
use Rector\ValueObject\PhpVersion;
|
2021-05-11 16:11:30 +00:00
|
|
|
|
2022-04-12 11:52:08 +00:00
|
|
|
return static function (RectorConfig $rectorConfig): void {
|
2023-09-12 23:04:24 +00:00
|
|
|
$rectorConfig->sets([SymfonySetList::SYMFONY_52]);
|
2021-05-11 16:11:30 +00:00
|
|
|
|
2022-04-12 14:41:09 +00:00
|
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_80);
|
|
|
|
$rectorConfig->paths([__DIR__ . '/src']);
|
2021-05-11 16:11:30 +00:00
|
|
|
};
|