withPaths([ $nextcloudDir . '/build/rector-strict.php', // TODO: Add more files. The entry above is just there to stop rector from complaining about the fact that it ran without checking any files. ]) ->withPreparedSets( deadCode: true, codeQuality: true, codingStyle: true, typeDeclarations: true, typeDeclarationDocblocks: true, privatization: true, instanceOf: true, earlyReturn: true, rectorPreset: true, phpunitCodeQuality: true, doctrineCodeQuality: true, symfonyCodeQuality: true, symfonyConfigs: true, )->withPhpSets( php82: true, );