function TestCase::onConsecutiveCalls
@codeCoverageIgnore
Deprecated
Use <code>$double->willReturn()</code> instead of <code>$double->will($this->onConsecutiveCalls())</code>
See also
https://github.com/sebastianbergmann/phpunit/issues/5423
https://github.com/sebastianbergmann/phpunit/issues/5425
File
-
vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php, line 329
Class
- TestCase
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\FrameworkCode
public static final function onConsecutiveCalls(mixed ...$arguments) : ConsecutiveCallsStub {
return new ConsecutiveCallsStub($arguments);
}