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", "nextcloud/ocp": "^30.0.5",
"roave/security-advisories": "dev-latest", "roave/security-advisories": "dev-latest",
"nextcloud/coding-standard": "^1.3.2", "nextcloud/coding-standard": "^1.3.2",
"nextcloud/rector": "^0.2.1", "nextcloud/rector": "^0.3.0",
"rector/rector": "~1.2.10", "rector/rector": "~1.2.10",
"vimeo/psalm": "^6.2.0" "vimeo/psalm": "^6.2.0"
}, },

View File

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