chore: ⬆️ update nextcloud/rector

This commit is contained in:
Michel Roux 2025-02-03 14:36:12 +00:00
parent 19d6f05417
commit 08de58fad3
2 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@
"nextcloud/ocp": "^30.0.5",
"roave/security-advisories": "dev-latest",
"nextcloud/coding-standard": "^1.3.2",
"nextcloud/rector": "^0.2.1",
"nextcloud/rector": "^0.3.0",
"rector/rector": "~1.2.10",
"vimeo/psalm": "^6.2.0"
},

View File

@ -7,12 +7,11 @@ use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__.'/appinfo',
__DIR__.'/lib',
])
->withPhpSets(php81: true)
->withSets([
NextcloudSets::NEXTCLOUD_27,
NextcloudSets::NEXTCLOUD_30,
])
->withPreparedSets(
deadCode: true,