chore(deps): update dependency phpstan/phpstan to v1.10.22 #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.10.18
->1.10.22
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.10.22
Compare Source
Bleeding edge 🔪
file()
flags args (#2476, #2482), thanks @staabm!flock()
operation flags (#2477), thanks @staabm!call_user_func()
(#2479), thanks @staabm!If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon
:Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Improvements 🔧
constant()
(#2474), thanks @herndlm!assert()
throw type extension (#2427), thanks @patrickkusebauch!json_validate()
stub (phpstan/phpstan-src@828b269), thanks @staabm!call_user_func()
DynamicFunctionReturnTypeExtension (#2479), thanks @staabm!Bugfixes 🐛
Function signature fixes 🤖
db2_num_rows()
return type (#2456), thanks @morozov!ignore_user_abort()
return type (#2489), thanks @staabm!Internals 🔍
v1.10.21
Compare Source
Bugfixes 🐛
Internals 🔍
v1.10.20
Compare Source
Improvements 🔧
non-zero-int
type (#2449), thanks @PrinsFrank!gettype()
return type extension (#2437), thanks @staabm!Bugfixes 🐛
match
condition (phpstan/phpstan-src@0cdda0b), #4451, #6064, #9457gettype
inmatch
condition (phpstan/phpstan-src@e4ef00c, phpstan/phpstan-src@caa0a5b), #8614get_class
inmatch
condition (phpstan/phpstan-src@106526d), #1885, #8536, #8092get_class
compared withstatic::class
(phpstan/phpstan-src@590eb03), #1885gettype
when there's a union of strings on the other side (phpstan/phpstan-src@36e412f), #6294, #2580NonEmptyArrayType::toArray()
return$this
(#2349), #9208, thanks @zonuexe!array_push()
andarray_unshift()
(#2451), #8449, thanks @herndlm!@var
above throw and return, change the type of expr only for the stmt callback (phpstan/phpstan-src@b551095), #9459Internals 🔍
Type::getFiniteTypes()
(phpstan/phpstan-src@7912caf, phpstan/phpstan-src@fa9a951, phpstan/phpstan-src@b5cf52b)v1.10.19
Compare Source
Bleeding edge 🔪
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon
:Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Improvements 🔧
sprintf()
arguments (phpstan/phpstan-src@1f95570)Bugfixes 🐛
Function signature fixes 🤖
Redis::connect()
to have 7 parameters (#2442), #9413, thanks @thbley!Internals 🔍
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.