PHPStan v0.12.24 Release Notes
Release Date: 2020-05-10 // almost 4 years ago-
๐ Improvements ๐ง
- ๐ PHPDoc: Multiline generics support with trailing commas (phpstan/phpdoc-parser#44), thanks @icanhazstring!
- ๐ Merge inherited PHPDocs (#196), #2914, thanks @alexeyinkin!
- โ Add config option to exclude
@mixin
classes (#198), thanks @canvural! - โ Removed tip about
inferPrivatePropertyTypeFromConstructor
(phpstan/phpstan-src@b31b9d8)
๐ Bugfixes ๐
- ๐ Fix multiple array shapes issues by changing representation of ConstantArrayType with optional keys (#197, phpstan/phpstan-src@8cee183), #3248, #3192, #3234, #3214, #3009, #3040, #3046, #2001, #2232
- ๐ Fix
ArrayType::castToArrayKeyType()
for template types (phpstan/phpstan-src@0a992c2), #3266 - ๐ Fix writing arrays array value type (phpstan/phpstan-src@890e829, phpstan/phpstan-src@5d64483), #3269
๐ฑ Function signature fixes ๐ค
- Add a more precise return type for
date_get_last_errors
(#199), thanks @stof! - PDO statement stub (#200), thanks @alexeyinkin!