Valinor/rector.php

25 lines
531 B
PHP
Raw Normal View History

2022-05-21 16:37:16 +02:00
<?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,
]);
};