Improvements 🔧
@mixin
above classes with__callStatic()
creates static methods (phpstan/phpstan-src@aa38695), #3641- Detect cache saving error (phpstan/phpstan-src@542238a), #3638
- Updated nikic/php-parser to 4.7.0 (phpstan/phpstan-src@5a3deae)
- Improved PHP 8 compatibility after Treat namespaced names as single token RFC got merged into php-src
Bugfixes 🐛
- Handle
yield
in for loop, foreach loop, while loop, do-while loop, if condition, switch statement (#286), thanks @dantleech! - Fix missing method
Generator::throw()
(phpstan/phpstan-src@153c874), #3683, #3418 - Fix anonymous class with PHPDoc (#283), #3661, thanks @dbrekelmans!