Improvements 🔧
- TypeSpecifier - understand
==
operator for the same types on both sides (phpstan/phpstan-src@e40eff0), #6370, #4413 - Add
ClassReflection::getBackedEnumType()
method (phpstan/phpstan-src@a0ed2d3) - Achieve
BenevolentUnionType
return type without dynamic return type extension (phpstan/phpstan-src@723dfc5), #6391
Bugfixes 🐛
- Allow readonly property write in
__unserialize
(#929), thanks @ruudk! - Fix missing properties on
UnitEnum
andBackedEnum
(phpstan/phpstan-src@67d3a88), #6385 ConstantArrayTypeBuilder
- fix for potential performance problems (phpstan/phpstan-src@86b9306), #6375
Function signature fixes 🤖
- Add missing
Set::map()
method to functionMap (#923), thanks @simPod! gnupg_verify()
accepts false fot its signature param (#925), thanks @spaze!- Improve signature of
random_bytes()
(#926), thanks @staabm! - More precise
count_chars()
mode-param (#927), thanks @staabm! - More precise
getdate()
return type (#928), thanks @staabm!