1.12.17
If you're using larastan/larastan PHPStan extension, please update to version 2.9.14 alongside PHPStan 1.12.17 for improved compatibility with the new generic static<...> type. Thank you.
Improvements 🔧
- GenericStaticType - support for
static<...>(#1289), #12485, #11398, #10417, #9807, #9449, #8623, #5512, thanks @canvural!
Bugfixes 🐛
- VerbosityLevel - Keep traversing type when we can contain lowercase/upercase strings (#3792), #12457, thanks @VincentLanglet!
- FileTypeMapper - fix getting PHPDoc of abstract trait method (phpstan/phpstan-src@2f74584)
- Inherit PHPDoc implicitly from abstract trait method (phpstan/phpstan-src@b57bcad), #10240, #10488, #12073
- Fix PHPDoc inheritance from generic trait (phpstan/phpstan-src@49c631a), #10914, #9657
- Standalone null with default value null does not make parameter implicitly nullable (phpstan/phpstan-src@eded2c3), #12501
Internals 🔍
- Refactoring of PhpDocBlock that enabled a bugfix down the road (phpstan/phpstan-src@ebcb5da, phpstan/phpstan-src@10388a9)