PHPStan v0.12.50 Release Notes
Release Date: 2020-10-16 // over 3 years ago-
๐ 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
๐ฑ Function signature fixes ๐ค
- ๐ Support for