PHPStan v0.12.39 Release Notes
Release Date: 2020-08-24 // over 3 years ago-
๐ Improvements ๐ง
๐ฑ Bleeding edge ๐ช
- โ Add
SplObjectStorage
stub (#301), #3111, thanks @VincentLanglet!
๐ If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon
:includes: - vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included.
๐ Bugfixes ๐
- Understand array is not empty after
count($array) > 0
and similar conditions (#305), thanks @ossinkine! - โ Remove NonEmptyArrayType after
unset()
(phpstan/phpstan-src@e96481c) - ๐ functionMap should not be prefixed in the PHAR (phpstan/phpstan-src@79bae4b), #3776
- โ Add