diff --git a/composer.json b/composer.json index 69a2f4b..19e2523 100644 --- a/composer.json +++ b/composer.json @@ -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" }, diff --git a/rector.php b/rector.php index b7d34ea..1fe29ec 100644 --- a/rector.php +++ b/rector.php @@ -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,