PHPStan v0.12.38 Release Notes
Release Date: 2020-08-19 // over 3 years ago-
๐ Improvements ๐ง
- ๐ PHP 8: Support for
static
return type (phpstan/phpstan-src@75ff705) - โ Add support for the
callable-string
type (#296), thanks @ste93cry! - โก๏ธ Updated
nikic/php-parser
to 4.9.0 (phpstan/phpstan-src@05b6a54) - Doc comment above class doesn't have to exist if it has a stub file (phpstan/phpstan-src@17315cb)
min()
andmax()
may return false if array size could be zero (#300), thanks @dktapps!
๐ Bugfixes ๐
- ๐ Fix internal error with an unknown interface (phpstan/phpstan-src@19fab3f)
- Property is also read for
??=
and other assign ops (phpstan/phpstan-src@efb11ec, phpstan/phpstan-src@71c51e4), #3735, #3636 - PHAR compiler - preload
src/
too (phpstan/phpstan-src@ca70ff0), #3731
๐ฑ Function signature fixes ๐ค
- ๐ PHP 8: Support for