chore: ⬆️ update nextcloud/rector
This commit is contained in:
parent
19d6f05417
commit
08de58fad3
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user