1.12.2
Improvements 🔧
- PHP 8.4 - report deprecated implicitly nullable parameter types (phpstan/phpstan-src@9bd027c), #11413
Bugfixes 🐛
- Run
@mixin
class reflection extensions after all other class reflection extensions (phpstan/phpstan-src@c889baa), #11624, #11342, #10159, larastan/larastan#2032 - RegexArrayShapeMatcher - Don't optimize alternations with optional groups for tagged unions (#3395), #11604, thanks @staabm!
- Narrow array on
count()
withpositive-int
(#3389), thanks @staabm! - Improve narrowing after string functions (#3390), thanks @staabm!
- Add
Type::reverseArray()
(#3344), thanks @herndlm!
Function signature fixes 🤖
Internals 🔍
- Regression test (#3396), #6642, thanks @VincentLanglet!
- Simplify isFloat checks (#3397), thanks @staabm!