Improvements 🔧
- Check existence of stub files (https://github.com/phpstan/phpstan-src/commit/19b36a0b2ca57143372508fb9f8a726d938dd1d9)
- Tip for Discovering Symbols on all "not found" messages (https://github.com/phpstan/phpstan-src/commit/75e611591e913e12948bdca0d90afae88e7e0d49)
- Use dev-master of jetbrains/phpstorm-stubs (https://github.com/phpstan/phpstan-src/commit/a9834c9458816cb573adb7d87b8e09147ba23dae), thanks @kukulich!
Bugfixes 🐛
- Silencing errors related to composer.json reading (https://github.com/phpstan/phpstan-src/commit/364cf39b0219a8295b6257a38fe84283c17475df), #3432
- Prevent some internal errors with methods by using the current node class reflection (https://github.com/phpstan/phpstan-src/commit/af0c64bdc181b9eb1cda39e560860d593e8b4bab)
- Fix traits issues (https://github.com/phpstan/phpstan-src/commit/e36d163a04998bd31a15dda83541222e92f4fd7b), #3415
- PhpFunctionFromParserNodeReflection - fix optionality of parameters with default value followed by variadic parameters (https://github.com/phpstan/phpstan-src/commit/e00262df46a73f3478bb0dc0e0d62663ef3f442e), #3443
- Fix argument type checking in function with func_get_args() (https://github.com/phpstan/phpstan-src/commit/29a9882712583f30f61902c36c8e642269f5cabb), #3448
- PhpParameterReflection - safe guards against nonexistent classes (https://github.com/phpstan/phpstan-src/commit/a7de2321ecb45308fa46c0b75273f8760377db4a, https://github.com/phpstan/phpstan-src/commit/51fb445d4d906c68dc1261ea79019adfd72cabfa, https://github.com/phpstan/phpstan-src/commit/ce3d231d9dd4a1f9e3ede8d24366ddaaf7374d88), #3422, #3445
- AutoloadSourceLocator - select the correct class node based on the line (https://github.com/phpstan/phpstan-src/commit/e2fe1efeaaf7dc712c60c212b0ab71429c82bfb2), #3463
- PHAR compiler - prefix global functions and classes as usual - solves polyfill problems (https://github.com/phpstan/phpstan-src/commit/24c86d68c5abcb31693a5e348ec81b2aa64496ac), #3431, #3419
- Fix non-abstract class contains abstract method with more than one-level parent class away (https://github.com/phpstan/phpstan-src/commit/d8a0735960220e54902c42deb056f25dabc28f6f), #3469
- Fix unknown properties for class extending
DateInterval
andDatePeriod
and loaded with runtime reflection (https://github.com/phpstan/phpstan-src/commit/b21f5379df60505a63ddaa9e5696d0d362a9a76d), #3468
- Only consider class-strings when resolving dependencies (#239), thanks @rainbow-alex!
- Fix
__DIR__
in global constant (https://github.com/phpstan/phpstan-src/commit/4a9c159521701c30d5b09d03111bcf1acd8b769f), #3433