paths([ __DIR__ . '/src', ]); $rectorConfig->skip([ __DIR__ . '/src/vendor', __DIR__ . '/src/data/cache', JsonThrowOnErrorRector::class, LongArrayToShortArrayRector::class, // As much as I'd like to use this, Rector will destroy the formatting of large, multi-line arrays when it applies this & PHP-CS-Fixer doesn't fix it. NullToStrictStringFuncCallArgRector::class, ]); $rectorConfig->sets([ LevelSetList::UP_TO_PHP_81, ]); };