1.0.2
Bugfixes 🐛
- Analyze
Composer
namespace only with static reflection, some classes in PHAR are unprefixed (phpstan/phpstan-src@95754d1), composer/composer#10253 - ArrayType - use BenevolentUnionType even if it contains StrictMixedType (phpstan/phpstan-src@c59330c), #5834, #5881, #5872, #5861
- This fixes "expects array, array given" errors
Function signature fixes 🤖
- Unified the name of the second
array_map
parameter (phpstan/phpstan-src@9433345) - More precise
connection_aborted()
signature (#715), thanks @staabm! - More precise
str_split()
signature (#718), thanks @staabm! DateFunctionReturnTypeExtension
: support more precise single-char date-formats (#721), thanks @staabm!- Support
$preserve_keys
argument foriterator_to_array()
(#748), thanks @Lctrs!