Improvements 🔧
- Introduced NodeConnectingVisitor to be able to look around the current node in rules (https://github.com/phpstan/phpstan-src/commit/e72ef39e1519b0e0c6d0cd89884d2e8a39d3c071)
- Add support for
@phpstan-throws
(#292), thanks @VincentLanglet!
- Generics: disallow variance definition other than in class or interface (#278), thanks @hrach!
Bugfixes 🐛
- Update BetterReflection - fixes bug with namespaced constants (https://github.com/phpstan/phpstan-src/commit/818830419df76d89e7b7d533d85c2196cf573a62), #3712
- Prevent internal error in case of unknown constant (https://github.com/phpstan/phpstan-src/commit/e964816ea590b447696438ed433f7e5359037ab4), #3379
- Fix detecting unused property from class used in trait (https://github.com/phpstan/phpstan-src/commit/11ef998efbea0ab9edc046918a52c4918a553ba6), #3716