1.12.27
Major new features 🚀
- Introducing Editor Mode (phpstan/phpstan-src@74b909a)
Improvements 🔧
- Result cache traits optimization - analyse only files using trait when trait implementation changes (phpstan/phpstan-src@bd6fc4e)
- InitializerExprTypeResolver - optimize arithmetical and bitwise operations for large types (phpstan/phpstan-src@275d3b5, phpstan/phpstan-src@572e0e8)
- Limit how big int-mask type can be (phpstan/phpstan-src@80b40f2)
Bugfixes 🐛
- Fix result cache getting stale when editing files mid-analysis (phpstan/phpstan-src@0536d11), #11788
- Result cache should be invalidated when files change in paths excluded for analysis but not scanning (phpstan/phpstan-src@408692e), #12381, #7339
- PHPStan Pro - refresh errors when scanned file is changed (phpstan/phpstan-src@7e3639b), #12465
- Result cache - add traits to dependencies recursively (phpstan/phpstan-src@e5db864)