Skip to content

Commit 7081a96

Browse files
authored
Added missing BC break
1 parent 04aa17f commit 7081a96

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

UPGRADING.md

+10
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,16 @@ Use [`PHPStan\Reflection\ReflectionProvider`](https://apiref.phpstan.org/2.0.x/P
233233

234234
Instead of `PHPStanTestCase::createBroker()`, call `PHPStanTestCase::createReflectionProvider()`.
235235

236+
### List type is enabled for everyone
237+
238+
Removed static methods from `AccessoryArrayListType` class:
239+
240+
* `isListTypeEnabled()`
241+
* `setListTypeEnabled()`
242+
* `intersectWith()`
243+
244+
Instead of `AccessoryArrayListType::intersectWith($type)`, do `TypeCombinator::intersect($type, new AccessoryArrayListType())`.
245+
236246
### Minor backward compatibility breaks
237247

238248
* Classes that were previously `@final` were made `final`

0 commit comments

Comments
 (0)