Understand variadic arg types with @no-named-arguments#1349
Understand variadic arg types with @no-named-arguments#1349ondrejmirtes merged 3 commits intophpstan:1.7.xfrom
@no-named-arguments#1349Conversation
There was a problem hiding this comment.
There is a simillar check in getFunctionType(). I'm not sure whether I need to change anything there, as it seems to work as is.
|
We would also need a rule preventing child class from declaring |
4df7272 to
6b7f84e
Compare
|
Really really nice!
This should be done in MethodSignatureRule. And the usage of named arguments in |
|
Thank you! Looking forward to follow-up PRs! |
|
Fyi this seems to be the first followup #1400 but there seems to be no pr yet for preventing the calling site to use named args |
First step for phpstan/phpstan#5968.