1.11.4
版本发布时间: 2024-06-06 20:20:34
phpstan/phpstan最新发布版本:1.12.6(2024-10-06 23:06:59)
Improvements 🔧
- Detect
--generate-baseline
combined with--pro
(https://github.com/phpstan/phpstan-src/commit/dd028cb4ccc44c6aa12b51f443e8761d5d4efc1d), #11093 - Add error identifier to RawErrorFormatter (#3112), #11125, thanks @zonuexe!
- Pass current rule level to PHPStan Pro (https://github.com/phpstan/phpstan-src/commit/7af14fbfc027b15e3342ac95be783bd3fa1df413)
- Read and enforce PHPStan version constraints from
phpstan/extension-installer
v1.4 (https://github.com/phpstan/phpstan-src/commit/1d005ef1e72f77afada37bad491f2b6602f4cc92)
Bugfixes 🐛
- Consider
numeric-string
types after string concat (#3117), thanks @staabm! - Fix type loss with recursive
count()
(#2812), thanks @staabm! -
array_slice()
returnsnon-empty-array
for existing offsets and positive limit (#3124), #10721, thanks @staabm! - Consider a
ClosureType()
as maybe impure by default when no$impurePoints
array provided (#3125), #11135, thanks @jf-m!
Function signature fixes 🤖
- Make the return type of
tempnam()
andtmpfile()
to benevolent union (#3111), thanks @zonuexe! - Fix
gnupg_init
function (#3118), thanks @pistej!
Internals 🔍
- Update
react/promise
(https://github.com/phpstan/phpstan-src/commit/da754e2294a619bacc95cd42426e94c17a57365b)
1、 phpstan.phar 21.84MB
2、 phpstan.phar.asc 833B