Improvements 🔧
- Check existence of stub files (phpstan/phpstan-src@19b36a0)
- Tip for Discovering Symbols on all "not found" messages (phpstan/phpstan-src@75e6115)
- Use dev-master of jetbrains/phpstorm-stubs (phpstan/phpstan-src@a9834c9), thanks @kukulich!
Bugfixes 🐛
- Silencing errors related to composer.json reading (phpstan/phpstan-src@364cf39), #3432
- Prevent some internal errors with methods by using the current node class reflection (phpstan/phpstan-src@af0c64b)
- Fix traits issues (phpstan/phpstan-src@e36d163), #3415
- PhpFunctionFromParserNodeReflection - fix optionality of parameters with default value followed by variadic parameters (phpstan/phpstan-src@e00262d), #3443
- Fix argument type checking in function with func_get_args() (phpstan/phpstan-src@29a9882), #3448
- PhpParameterReflection - safe guards against nonexistent classes (phpstan/phpstan-src@a7de232, phpstan/phpstan-src@51fb445, phpstan/phpstan-src@ce3d231), #3422, #3445
- AutoloadSourceLocator - select the correct class node based on the line (phpstan/phpstan-src@e2fe1ef), #3463
- PHAR compiler - prefix global functions and classes as usual - solves polyfill problems (phpstan/phpstan-src@24c86d6), #3431, #3419
- Fix non-abstract class contains abstract method with more than one-level parent class away (phpstan/phpstan-src@d8a0735), #3469
- Fix unknown properties for class extending
DateInterval
andDatePeriod
and loaded with runtime reflection (phpstan/phpstan-src@b21f537), #3468 - Only consider class-strings when resolving dependencies (#239), thanks @rainbow-alex!
- Fix
__DIR__
in global constant (phpstan/phpstan-src@4a9c159), #3433