Bleeding edge 🔪
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. Learn more
Improvements 🔧
- Update phpdoc-parser
- Add extension to add additional constructors through code (#2348), thanks @raalderink!
Bugfixes 🐛
- Fix
BackedEnum::tryFrom
not being nullable (#2302), thanks @schlndh! - Specify
never
forarray_combine
with different number of elements (#2303), thanks @herndlm! - ConstantFloatType - fix
equals()
(phpstan/phpstan-src@e01ce68) - Fix INF logic (phpstan/phpstan-src@fc673ee)
- Prevent false-positive in
get_parent_class()
on interfaces (#2336), #4302, thanks @staabm!
Function signature fixes 🤖
Internals 🔍
Type::toPhpDocNode()
(phpstan/phpstan-src@8633125)- Remove
symfony/polyfill-php72
(phpstan/phpstan-src@8ff8fb0)