2.1.19 #13286
ondrejmirtes
started this conversation in
General
2.1.19
#13286
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Improvements 🔧
str_split()return type (#3999), thanks @VincentLanglet!Bugfixes 🐛
IntersectionType::isIterableOnce()(#4106), incorrectEmpty array passed to foreach.error when iterating over an intersection ofX&Traversable#13248, thanks @VincentLanglet!array_mapwith named arguments (#3763), Parameter $callback of function array_map expects (callable(mixed): mixed)) #12317, thanks @takaram!ObjectType::getOffsetValueType()(#4126), Intersection for array and ArrayAccess with identical contents always returns mixed #12125, SimpleXMLElement types are wrong #9575, PHPStan does not understand destructuring assignment on objects that implement ArrayAccess #9456, PHPStan incorrectly inferes the type of values when spreading an object. #13144, thanks @VincentLanglet!property.nameNotString(#4117), Property name for x must be a string, but 'y'|'z' was given #13271ConstantArrayType::spliceArray()(#4140), Infinite recursion on array_splice #13279, thanks @herndlm!NULLis greater than an object of type DateTime, according to phpstan #10719, Unreachable statement - nullable #9141, thanks @VincentLanglet!exceptionTypeResolverin neon (phpstan/phpstan-src@e7febc3)Function signature fixes 🤖
stream_filter_*signatures (#4125), stream_filter_append and stream_filter_prepend #12380, thanks @VincentLanglet!Internals 🔍
str_replaceon array search & replace losesnon-empty-stringtype of subject #13043, thanks @VincentLanglet!#[RequiresPhp]attribute rule (#4127), thanks @takaram!array might not be a listwhile it's certainly a list #9401, thanks @VincentLanglet!dumpNativeType(#4108), thanks @VincentLanglet!This discussion was created from the release 2.1.19.
Beta Was this translation helpful? Give feedback.
All reactions