- Support for prefixed PHPDoc
@methodtags (#302), thanks @yosatak!
Bleeding edge 🔪
SplObjectStoragestub (#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
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.
- Understand array is not empty after
count($array) > 0and similar conditions (#305), thanks @ossinkine!
- Remove NonEmptyArrayType after
- functionMap should not be prefixed in the PHAR (https://github.com/phpstan/phpstan-src/commit/79bae4b17d9a1a38559127c90107bacbec6cb853), #3776