How do I set the expected value from 0 to infinity?
doox911 opened this issue · comments
doox911 commented
How can I use the #[ExpectedValues]
attribute to indicate that a method or function argument can be 0 or more? And it can only be an integer.
I would like something like this:
#[ExpectedValues([0,1, ...])]
public function test(int $arg) {}
Kirill Smelov commented
Hello, this feature request is out of scope of the #[ExpectedValues]
design. The attribute goal is to enumerate finite number of expected values.