1.10.64
版本发布时间: 2024-03-21 18:11:58
phpstan/phpstan最新发布版本:1.10.67(2024-04-16 15:27:29)
Bleeding edge 🔪
- Fail build when project config uses custom extensions outside of analysed paths
- This will only occur after a run that uses already present and valid result cache
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. Learn more
Improvements 🔧
- Introduce
ForbiddenClassNameExtension
for append additional forbidden class prefixes (#2979), thanks @kamil-zacek! - Add
AlwaysUsedMethodExtension
(#2927), thanks @axlon! - Warn about possibly stale result cache with custom extensions (https://github.com/phpstan/phpstan-src/commit/9338fdfe1611f742c65c61e5035315e1d64c4972)
- This is how it looks: https://twitter.com/OndrejMirtes/status/1770024563113390437
Bugfixes 🐛
- Fix deprecated parameter order (#2971), thanks @sayuprc!
Function signature fixes 🤖
1、 phpstan.phar 21.51MB
2、 phpstan.phar.asc 833B