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