1.10.57
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
ClassReflection::getConstant()
return type (phpstan/phpstan-src@8d4ea60) - Cover
ClassConstantReflection
with BC promise (phpstan/phpstan-src@8f82b79)
Bugfixes 馃悰
- Preserve TemplateTypeArray when merging array types (phpstan/phpstan-src@8342785), #10445
- Fix
array_filter
callback return type (phpstan/phpstan-src@59ae706) - Fix undefined XMLReader properties with local phpstorm-stubs patch (phpstan/phpstan-src@2d364d7), #8629
- Fix spaceship operator for large constant unions (#2886), thanks @schlndh!
- MissingClassConstantTypehintRule should not apply to native types (phpstan/phpstan-src@6363932)
- Do not generalize class-level
@template
type in method call (phpstan/phpstan-src@11268e5), #10473