Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestCase.php

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\Framework

Code

public static final function onConsecutiveCalls(mixed ...$arguments) : ConsecutiveCallsStub {
    return new ConsecutiveCallsStub($arguments);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal