* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Rector\Config\RectorConfig; use Rector\Core\ValueObject\PhpVersion; use Rector\Set\ValueObject\SetList; return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ __DIR__ ]); $rectorConfig->sets([SetList::DEAD_CODE, SetList::PHP_80]); $rectorConfig->phpVersion(PhpVersion::PHP_81); };