Improvements 🔧
- Support
@readonly
PHPDoc on the class as alternative to@immutable
(#3523), #11775, thanks @herndlm!
Bugfixes 🐛
- Fix too early lowercase-string inference (#3585), #11852, thanks @VincentLanglet!
- Support
for
endless loops (#3573), #6807, #8463, #9374, thanks @herndlm! - More precise types for
preg_match
greater than0
(#3612), #11293, thanks @staabm! - Too-wide return type - do not report void in PHPDoc union type (phpstan/phpstan-src@5f0b1cc), #11980
- Too-wide return type - allow
void
return type in a union when the returned expr is originallyvoid
(phpstan/phpstan-src@80c1df2), #11980 - RichParser - fix
@phpstan-ignore
with trait in the same file (phpstan/phpstan-src@381c137), #11981
Internals 🔍
- Result DTOs - make reasons unique (phpstan/phpstan-src@ccfb4ab)