1.10.21
Bugfixes 🐛
- Fix defining variables in match condition (phpstan/phpstan-src@d6c2752), #9474
- Fix UnusedClosureUsesRule for already traversed match (phpstan/phpstan-src@a719486), phpstan/phpstan-phpunit#190, #9478
- Update BetterReflection (phpstan/phpstan-src@a540e44), #9477
- Fix newInstance on ReflectionAttribute adapter with enum argument (ondrejmirtes/BetterReflection@277b960)
Internals 🔍
- Cheap checks first in ObjectType (#2475), thanks @mad-briller!