Improvements 🔧
- Update
fidry/cpu-core-counter
(#3632), #12026 - Add
TypeCombinator::removeTruthy()
method (#3633), thanks @canvural! - Add basic type narrowing for
$a != ''
(#3304), thanks @thg2k! - Use the correct type for final constants (#3638), thanks @thg2k!
Bugfixes 🐛
- Fix resolving class constant type using
self::
in a class attribute argument (phpstan/phpstan-src@3447391), #12011, #10314 - Do not report nonexistent variable passed to by-ref parameter with checkImplicitMixed (level 10 in 2.0) (phpstan/phpstan-src@f158d5b), #12015
- Add
null
toarray_map(null, $a, $b)
(#3562), thanks @schlndh! - Fix
ArrayType<mixed, X>
withcheckImplicitMixed
(level 10 in 2.0) (#3636), #12051, thanks @VincentLanglet!