Bugfixes 🐛
- Calling to a constructor with promoted properties has side effects (phpstan/phpstan-src@8b27943), #12379
- Support arrays with union value-types in
implode()
(#3772), #11854, thanks @staabm! - Avoid false inference with instanceof (#3657), thanks @VincentLanglet!
- Casting ArrayObject to array should not lead to array shape (phpstan/phpstan-src@d38ed50), #12182
- Add ArrayChangeKeyCaseFunctionReturnTypeExtension (#3549), #11795, #10960, thanks @VincentLanglet!
- More precise
hash()
return type (#3665), thanks @VincentLanglet! - Fix union of lowercase/uppercase string with empty string (#3751), thanks @VincentLanglet!
- Implement
OpenSslEncryptParameterOutTypeExtension
(#3753), thanks @paulbalandan! - Update Symfony polyfills (phpstan/phpstan-src@24cdeac), #12443
- Inferring
new
from parent constructor - reject types that would fail bound check of the child class (phpstan/phpstan-src@d06f792), #12386
Function signature fixes 🤖
- More specific return type for
stream_context_get_params
(phpstan/phpstan-src@ff1feee), #11796