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