mirror of
https://github.com/danog/Valinor.git
synced 2024-11-30 04:39:05 +01:00
25 lines
531 B
PHP
25 lines
531 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
use Rector\Config\RectorConfig;
|
||
|
use Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector;
|
||
|
use Rector\Set\ValueObject\LevelSetList;
|
||
|
|
||
|
return static function (RectorConfig $rectorConfig): void {
|
||
|
$rectorConfig->paths([
|
||
|
__FILE__,
|
||
|
__DIR__ . '/src',
|
||
|
__DIR__ . '/tests',
|
||
|
]);
|
||
|
|
||
|
$rectorConfig->sets([
|
||
|
LevelSetList::UP_TO_PHP_74,
|
||
|
]);
|
||
|
|
||
|
$rectorConfig->parallel();
|
||
|
$rectorConfig->skip([
|
||
|
AddLiteralSeparatorToNumberRector::class,
|
||
|
]);
|
||
|
};
|