Skip to content

Commit 8ff28a3

Browse files
Add a hint how to upgrade custom SetListInterface to Rector 2.0 (#6816)
1 parent c6b7d4d commit 8ff28a3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

UPGRADING.md

+11
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,14 @@ This is no longer needed. Now The `getRuleDefinition()` method has been removed:
9393

9494
If you need description yourself to understand rule after many months, use the common place for documentation - docblock above class.
9595

96+
97+
### 3. `SetListInterface` was removed
98+
99+
The deprecated `SetListInterface` was removed, if you created your own list just remove the Interface from it:
100+
101+
```diff
102+
-use Rector\Set\Contract\SetListInterface;
103+
104+
-final class YourSetList implements SetListInterface
105+
+final class YourSetList
106+
```

0 commit comments

Comments
 (0)