File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
tests/Rector/LegacyGetterToOcpServerGetRector/config Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1515 }
1616 ],
1717 "require" : {
18- "php" : " ^8.1"
18+ "php" : " ^8.1" ,
19+ "nextcloud/ocp" : " >=27" ,
20+ "rector/rector" : " ^2.0"
1921 },
2022 "require-dev" : {
2123 "phpunit/phpunit" : " ^10.5" ,
22- "ramsey/devtools" : " ^2.0" ,
23- "rector/rector" : " ^1.2"
24+ "ramsey/devtools" : " ^2.0"
2425 },
2526 "minimum-stability" : " dev" ,
2627 "prefer-stable" : true ,
2728 "autoload" : {
2829 "psr-4" : {
29- "Nextcloud\\ Rector\\ " : " src/"
30+ "Nextcloud\\ Rector\\ " : " src/" ,
31+ "OCP\\ " : " vendor/nextcloud/ocp/OCP"
3032 }
3133 },
3234 "autoload-dev" : {
4446 "ramsey/composer-repl" : true ,
4547 "ramsey/devtools" : true
4648 },
49+ "platform" : {
50+ "php" : " 8.1"
51+ },
4752 "sort-packages" : true
4853 },
4954 "extra" : {
Original file line number Diff line number Diff line change 44
55namespace Nextcloud \Rector \Set ;
66
7- use Rector \Set \Contract \SetListInterface ;
8-
9- /**
10- * @psalm-suppress DeprecatedInterface
11- */
12- final class NextcloudSets implements SetListInterface
7+ final class NextcloudSets
138{
149 public const NEXTCLOUD_25 = __DIR__ . '/../../config/nextcloud-25/nextcloud-25-deprecations.php ' ;
1510 public const NEXTCLOUD_26 = __DIR__ . '/../../config/nextcloud-26/nextcloud-26-deprecations.php ' ;
Original file line number Diff line number Diff line change 1111 ->withConfiguredRule (
1212 LegacyGetterToOcpServerGetRector::class,
1313 [
14- /** @phpstan-ignore class.notFound */
1514 new LegacyGetterToOcpServerGet ('getRequest ' , IRequest::class),
1615 new LegacyGetterToOcpServerGet ('getContactsManager ' , 'OCP\Contacts\IManager ' ),
1716 ],
You can’t perform that action at this time.
0 commit comments