0.12.10
Improvements 🔧
- Build phpstan-src using GitHub Actions. Huge thanks to @localheinz for this one 🙂 #128
- NeonAdapter: throw more meaningful error which contains the filename (#136), thanks @clxmstaab!
Bleeding edge🔪
PHPStan runs in multiple threads! This leads to huge performance gain roughly equivalent to the number of your CPU cores! This works on all operating systems and does not require any special PHP extension.
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included.
Bugfixes 🐛
- Use AutoloadSourceLocator to see existing classes in memory for static reflection (phpstan/phpstan-src@c0cb3a6), #2958
- Fix traits issue in parallel analysis (phpstan/phpstan-src@cedc99f), #2975
- {Inc,dec}rement operators did not change type of union of int ranges (#140), thanks @cs278!
- Fixed methods caching issue because of same cache key for implicit/explicit mixed (phpstan/phpstan-src@f83240f)