Rename variadic parameter is not break BC
vjik opened this issue · 3 comments
vjik commented
interface A {
public function test(...$a): void;
}
change to
interface A {
public function test(...$b): void;
}
This is not break BC.
All data pass to variadic parameter when named arguments used. For example: https://3v4l.org/stRQl
Ocramius commented
Could we have that in a test case, perhaps? 🤔
vjik commented
Example of false-positive result: https://github.com/yiisoft/data/actions/runs/3999454619/jobs/6863373008
Ocramius commented
I would need a patch touching these files: