Update dependency phpstan/phpstan to v1.10.20
Compare changes
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.10.19 -> 1.10.20
|
v1.10.20
non-zero-int
type (#2449), thanks @PrinsFrank!gettype()
return type extension (#2437), thanks @staabm!match
condition (https://github.com/phpstan/phpstan-src/commit/0cdda0b210a623ee299323da80771c2c84c602f9), #4451, #6064, #9457
gettype
in match
condition (https://github.com/phpstan/phpstan-src/commit/e4ef00c0573daea5e83199d182e35ea988a7d95b, https://github.com/phpstan/phpstan-src/commit/caa0a5b5247b2ff58c56b543aa3cb286b00ffde7), #8614
get_class
in match
condition (https://github.com/phpstan/phpstan-src/commit/106526db8bd64880af81faa61d9f970e793e3c38), #1885, #8536, #8092
get_class
compared with static::class
(https://github.com/phpstan/phpstan-src/commit/590eb03e0ce2b5b02562ee9bb0af803fcbb1dc95), #1885
gettype
when there's a union of strings on the other side (https://github.com/phpstan/phpstan-src/commit/36e412ffed0ab6f4220c58276b06041a7a487db3), #6294, #2580
NonEmptyArrayType::toArray()
return $this
(#2349), #9208, thanks @zonuexe!array_push()
and array_unshift()
(#2451), #8449, thanks @herndlm!@var
above throw and return, change the type of expr only for the stmt callback (https://github.com/phpstan/phpstan-src/commit/b55109537dd62ac0e352b0a55df62cfc83f12f08), #9459
Type::getFiniteTypes()
(https://github.com/phpstan/phpstan-src/commit/7912caf4b66bdff65d3d6795d4c584c17ece5e51, https://github.com/phpstan/phpstan-src/commit/fa9a951f808466be36792ba65f128f9838ab617e, https://github.com/phpstan/phpstan-src/commit/b5cf52b916ad4d155f1809356c96cbe924f51dbe)This MR has been generated by Renovate Bot.