1<?php 2 3declare(strict_types=1); 4 5use Rector\Config\RectorConfig; 6use Rector\Set\ValueObject\LevelSetList; 7 8return static function (RectorConfig $rectorConfig): void { 9 $rectorConfig->paths([ 10 //__DIR__ . '/tests', 11 __DIR__ . '/src', 12 ]); 13 14 $rectorConfig->sets([ 15 LevelSetList::UP_TO_PHP_74 16 ]); 17}; 18