Improvements 🔧
- MatchExpressionArmBody virtual node (#1726), thanks @janedbal!
- Detect duplicate included files in ContainerFactory (phpstan/phpstan-src@f15cd6d, phpstan/phpstan-src@4cdb806)
- ClassPropertyNode - carry PHPDoc type (phpstan/phpstan-src@dcd8bac)
Bugfixes 🐛
- Fix several stale result cache issues:
- Fix stale
@mixin
result cache issue (phpstan/phpstan-src@7228d4d), #7831 - Include
@template
tags in the result cache (phpstan/phpstan-src@4c0cb98) - Reanalyse all files with errors when new symbol appears (phpstan/phpstan-src@bc9301d)
- DependencyResolver - add method/property declaring classes to dependencies (phpstan/phpstan-src@e1c1366)
- DependencyResolver - declaring classes for static fetches (phpstan/phpstan-src@be6e7ce)
- DependencyResolver -
@method
,@property
,@extends
,@implements
tags (phpstan/phpstan-src@ec5b633) - Fix result cache getting stale because of trait
@use
(phpstan/phpstan-src@08703d1) - Fix stale result cache for property types (phpstan/phpstan-src@9e4e93b)
- Fix stale
- Fix wrong type inference about array (#1808), #8087, thanks @VincentLanglet!
- Invalidate DI container based on included files hashes (phpstan/phpstan-src@615c6a1)
- Virtual expr nodes - do not reuse wrong attributes, a printed expr might be cached there (phpstan/phpstan-src@8369197)
- Fix reordering unspecified named arguments (#1903), #8204, thanks @rvanvelzen!