Update dependency phpstan/phpstan to v1.10.18
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.10.16 -> 1.10.18
|
Release Notes
phpstan/phpstan
v1.10.18
Implicit throw point is enough to no longer mark multi-catch as dead (https://github.com/phpstan/phpstan-src/commit/c587dd1d870f7a67623e1a3bb7f2811fda688bab), #9406
v1.10.17
🔧
Improvements - StubValidator - add missing rules about type aliases (https://github.com/phpstan/phpstan-src/commit/8bb45376ca37a9d67a9a0362809b663cd7567e11)
🐛
Bugfixes - Fix more
in_array
issues (#2432), #6959, thanks @schlndh! - Fix overriding
__debugInfo
with covariant return type (#2435), #9391, thanks @staabm! - Improve
Map::remove()
@throws
inference (#2434), #9066, thanks @baci266! -
array_is_list
narrows the type even when not on Bleeding Edge (https://github.com/phpstan/phpstan-src/commit/de2566adeafe5ca36a3517f0a4e3c147d63f037a), #9381 - AutoloadSourceLocator - do not execute autoloader if the class already exists but is evaled (https://github.com/phpstan/phpstan-src/commit/32b889dd29202eb545d8558b1c93a6b804828d8d), #7960
- EnumSanityRule - use scope inside enum (https://github.com/phpstan/phpstan-src/commit/04af510e5649a834f2e99750007048ba686ad995), #9402
- Fix native type of array after
array_push()
(https://github.com/phpstan/phpstan-src/commit/564f79f96c6104cda479a3d0319af356d1b166ad), #9403 - Refactor pieces looking for dead code for more precise detection of properties, methods, constants (https://github.com/phpstan/phpstan-src/commit/d09401df4514a16eb38334cf4187093a4e66eefb, https://github.com/phpstan/phpstan-src/commit/ffc0495d89763b65d93256928cb95bc4b07f6138), #8412, #8958, #8563, thanks @takaram!
- Fix param-type specification interfering with root-expression types (#2439), #9404, thanks @staabm!
🤖
Function signature fixes - More precise
getimagesize*
return type (#2438), thanks @staabm! - base64_decode returns false only in strict mode (#2419), thanks @kamil-tekiela!
🔍
Internals - Minor refinements to MutatingScope
empty()
and typehint helper (#2430), thanks @mad-briller!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot