1.10.14
版本发布时间: 2023-04-19 21:51:33
phpstan/phpstan最新发布版本:1.12.6(2024-10-06 23:06:59)
Bleeding edge 🔪
- Check
filter_input*
type param type (#2271), thanks @herndlm!
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 🔧
- Update phpdoc-parser
- Add extension to add additional constructors through code (#2348), thanks @raalderink!
Bugfixes 🐛
- Fix
BackedEnum::tryFrom
not being nullable (#2302), thanks @schlndh! - Specify
never
forarray_combine
with different number of elements (#2303), thanks @herndlm! - ConstantFloatType - fix
equals()
(https://github.com/phpstan/phpstan-src/commit/e01ce6865f9498340d60c696ee569080f2f62b09) - Fix INF logic (https://github.com/phpstan/phpstan-src/commit/fc673ee9966b7fce1a7ec8f1ca40952a3772a3b1)
- Prevent false-positive in
get_parent_class()
on interfaces (#2336), #4302, thanks @staabm!
Function signature fixes 🤖
- Fix
Memcache/MemcachePool::get
method signature (#2344), thanks @dravnic!
Internals 🔍
-
Type::toPhpDocNode()
(https://github.com/phpstan/phpstan-src/commit/8633125f66aadce22938adc3a32b8463596513d0) - Remove
symfony/polyfill-php72
(https://github.com/phpstan/phpstan-src/commit/8ff8fb0bfb1c9511600f5e14fcf6063e1654b2d5)
1、 phpstan.phar 20.72MB
2、 phpstan.phar.asc 833B