Update dependency phpstan/phpstan to v1.12.12
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.12.10 -> 1.12.12
|
⚠ ️ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.12.12
🔧
Improvements
🐛
Bugfixes - Fix
sprintf
dynamic return type (#3640), #12065, thanks @VincentLanglet! - Patch wrong namespace prefixing in PHAR in WindowsRegistryLogicalFinder (https://github.com/phpstan/phpstan-src/commit/f61d3247db160c875a2e1893aaee519963830f99), #12076
- Fix
static
return type in php-8-stubs (https://github.com/phpstan/phpstan-src/commit/162f774858b461b9cc89f0c604c798381053dc32), #12077 - Retain list type when assigning to offset 1 of
non-empty-list
(#3682), #12131, thanks @herndlm!
🤖
Function signature fixes -
Closure::bind
andbindTo
return benevolent union with null (https://github.com/phpstan/phpstan-src/commit/b049d8d7d7e25df00c80b1ec585beb2dd2896123) - Remove
sha256
function definition (#3664), thanks @VincentLanglet!
v1.12.11
🔧
Improvements - Update
fidry/cpu-core-counter
(#3632), https://github.com/phpstan/phpstan/discussions/12026 - Add
TypeCombinator::removeTruthy()
method (#3633), thanks @canvural! - Add basic type narrowing for
$a != ''
(#3304), thanks @thg2k! - Use the correct type for final constants (#3638), thanks @thg2k!
🐛
Bugfixes - Fix resolving class constant type using
self::
in a class attribute argument (https://github.com/phpstan/phpstan-src/commit/3447391001f7a5c2bfb77f66c2d0e157242c1dae), #12011, #10314 - Do not report nonexistent variable passed to by-ref parameter with checkImplicitMixed (level 10 in 2.0) (https://github.com/phpstan/phpstan-src/commit/f158d5bf32135d90a31f14993a3d2196cb456b3b), #12015
- Add
null
toarray_map(null, $a, $b)
(#3562), thanks @schlndh! - Fix
ArrayType<mixed, X>
withcheckImplicitMixed
(level 10 in 2.0) (#3636), #12051, thanks @VincentLanglet!
🤖
Function signature fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.