Skip to content

Commit bd6a6af

Browse files
authored
Remove deprecated set list marker (#232)
1 parent d9cef57 commit bd6a6af

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"phpstan/phpstan-webmozart-assert": "^1.2",
1313
"phpunit/phpunit": "^10.5",
1414
"rector/rector-src": "dev-main",
15-
"rector/type-perfect": "^0.1.8",
15+
"rector/type-perfect": "^1.0",
1616
"symplify/easy-coding-standard": "^12.3",
1717
"symplify/phpstan-extensions": "^11.4",
1818
"symplify/phpstan-rules": "^13.0",
1919
"symplify/rule-doc-generator": "^12.2",
2020
"symplify/vendor-patches": "^11.3",
21-
"tomasvotruba/class-leak": "^0.2.13",
21+
"tomasvotruba/class-leak": "^1.0",
2222
"tracy/tracy": "^2.10"
2323
},
2424
"autoload": {

rules/DowngradePhp81/Rector/Property/DowngradeReadonlyPropertyRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class DowngradeReadonlyPropertyRector extends AbstractRector
3131
public function __construct(
3232
private readonly VisibilityManipulator $visibilityManipulator,
3333
private readonly DocBlockUpdater $docBlockUpdater,
34-
protected PhpDocInfoFactory $phpDocInfoFactory,
34+
private PhpDocInfoFactory $phpDocInfoFactory,
3535
) {
3636
}
3737

src/Set/ValueObject/DowngradeLevelSetList.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
namespace Rector\Set\ValueObject;
66

7-
use Rector\Set\Contract\SetListInterface;
8-
97
/**
108
* @api
9+
* @deprecated use ->withDowngradeSets() in rector.php instead
1110
*/
12-
final class DowngradeLevelSetList implements SetListInterface
11+
final class DowngradeLevelSetList
1312
{
1413
/**
1514
* @var string

src/Set/ValueObject/DowngradeSetList.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
namespace Rector\Set\ValueObject;
66

7-
use Rector\Set\Contract\SetListInterface;
8-
97
/**
108
* @api
9+
* @deprecated use ->withDowngradeSets() in rector.php instead
1110
*/
12-
final class DowngradeSetList implements SetListInterface
11+
final class DowngradeSetList
1312
{
1413
/**
1514
* @var string

0 commit comments

Comments
 (0)