1.10.39
版本发布时间: 2023-10-17 23:47:46
phpstan/phpstan最新发布版本:1.12.6(2024-10-06 23:06:59)
Improvements 🔧
- More information about thrown exception in child process (https://github.com/phpstan/phpstan-src/commit/d6a576adcdaf3c6d64ccbeb6fcbae7100cc674f4)
- PHPStan Pro - allow overriding
pro.tmpDir
config parameter (https://github.com/phpstan/phpstan-src/commit/4a952068df57b09e8920de756ab2a6b8a0ffdf10, https://github.com/phpstan/phpstan-src/commit/7c4ef6b2aa246a31128b035cd07e64ff202ecc2b) - Optimize memory consumption when doing sha1 file hash (#2680), thanks @staabm!
- Optimize memory consumption in ResultCacheManager (#2681), thanks @staabm!
Bugfixes 🐛
- Filter right side of
??=
with=== null
(https://github.com/phpstan/phpstan-src/commit/f407ac69ba1d967b2258ff2a506f53c8cf0a8e5d) - Fix possible internal error when analysing code with enums on PHP 7.x (https://github.com/phpstan/phpstan-src/commit/b9d96266478461696d8db461a15601c7b4654d9a), #9974
- NonexistentOffsetInArrayDimFetchRule - do not report errors on expressions after truthy
isset
check (https://github.com/phpstan/phpstan-src/commit/6fbd6e48b86b995b7ab118e0575c747fe224165b), #9991 - Use real native function name instead of lowercase one (#2673), #10003, thanks @fredden!
- Include property intializations from parent scope for anonymous functions (#2607), #9831, thanks @fabacino!
- FileFinder - make list of found files unique (https://github.com/phpstan/phpstan-src/commit/749126094d4ea84f770251dd41a277a46567b47e)
- Fix internal error with first-class callable in
array_filter
(https://github.com/phpstan/phpstan-src/commit/0228643a9062c6ceb2eadba4b3f64f8b1a35fea5), #9994 - Fix subclass acceptability when class alias is involved on "ours" side (https://github.com/phpstan/phpstan-src/commit/d5c599c962cadc13acb206b932a8e3a74fc46025), #10023
Function signature fixes 🤖
1、 phpstan.phar 21.07MB
2、 phpstan.phar.asc 833B