Improvements 🔧
- Support for
throw
expression (PHP 8.0) (phpstan/phpstan-src@5f2d42c) - Support
::class
on expression (PHP 8.0) (phpstan/phpstan-src@cec1be7) - Support
non-empty-array
andnon-empty-list
(phpstan/phpstan-src@a4038b2)
Bugfixes 🐛
- Fix an intersection with NeverType (#341), thanks @jlherren!
- Fix GenericClassStringType being equal when it's not (#341), thanks @jlherren!
- Fix intersection of iterable and array (#341), thanks @jlherren!
- Fixed nested ternary (phpstan/phpstan-src@ea43e81), #3942
- Fixed casting CurlHandle to
(int)
(phpstan/phpstan-src@842b468), #3939 - Fixed SimpleXMLElement bug (phpstan/phpstan-src@af5921e), #3958
- Fix SimpleXMLElement iterable type on PHP 8 (phpstan/phpstan-src@befb743), #3947
- Report real file with a parse error (phpstan/phpstan-src@8113f38), #3943