Improvements 🔧
- Infer private properties in constructor, even if typehinted (#374), thanks @Baldinof!
- Updated nikic/php-parser (phpstan/phpstan-src@030b4f5)
- Optimize range() dynamic return type extension for big arrays (phpstan/phpstan-src@af5ba63), #4207
- Obsolete Docker image note (phpstan/phpstan-src@80d8afb)
Bugfixes 🐛
- Delete result cache file when it fails to load (phpstan/phpstan-src@c22e620), #4200
- Match expression - fix default handling (phpstan/phpstan-src@1dfade1), #4204
- TypeSpecifier - resolve values from fetched constants (phpstan/phpstan-src@761c962), #4206
- Fix bug when specifying empty array (phpstan/phpstan-src@a73b48f)
Function signature fixes 🤖
- Fix Normalizer's normalize method can return false (#403), thanks @TRowbotham!
- Fix wrong function signature of get_include_path() (#404), thanks @ste93cry!
- functionMap: getmypid() / getmyuid() may return false (#406), thanks @dktapps!
- functionMap: unpack() may return false (#405), thanks @dktapps!
- Handle encoding for mb_str_split returnTypeExtension (#396), #4183, thanks @VincentLanglet!
- SimpleXMLElement methods return
static
(#407), #4222, thanks @voku!