paths([ __DIR__.'/app', __DIR__.'/config', __DIR__.'/database', ]); // define sets of rules $rectorConfig->sets([ SetList::PHP_80, SetList::PHP_81, SetList::PHP_82, LevelSetList::UP_TO_PHP_82, SetList::CODE_QUALITY, SetList::CODING_STYLE, SetList::DEAD_CODE, SetList::EARLY_RETURN, SetList::MYSQL_TO_MYSQLI, SetList::PSR_4, SetList::PRIVATIZATION, SetList::TYPE_DECLARATION, LaravelSetList::LARAVEL_90, LaravelSetList::LARAVEL_CODE_QUALITY, ]); $rectorConfig->skip([ EncapsedStringsToSprintfRector::class, WrapEncapsedVariableInCurlyBracesRector::class, RenameParamToMatchTypeRector::class, FinalizeClassesWithoutChildrenRector::class, FinalizePublicClassConstantRector::class, CatchExceptionNameMatchingTypeRector::class, ]); };