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

Breadcrumb

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

function ResultCacheHandler::testFinished

Throws

\PHPUnit\Event\InvalidArgumentException

InvalidArgumentException

File

vendor/phpunit/phpunit/src/Runner/ResultCache/ResultCacheHandler.php, line 119

Class

ResultCacheHandler
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Runner\ResultCache

Code

public function testFinished(Finished $event) : void {
    $this->cache
        ->setTime($event->test()
        ->id(), $this->duration($event));
    $this->time = null;
}

API Navigation

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