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

Breadcrumb

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

function Collector::testTriggeredPhpunitWarning

File

vendor/phpunit/phpunit/src/Runner/TestResult/Collector.php, line 587

Class

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

Namespace

PHPUnit\TestRunner\TestResult

Code

public function testTriggeredPhpunitWarning(PhpunitWarningTriggered $event) : void {
    if (!isset($this->testTriggeredPhpunitWarningEvents[$event->test()
        ->id()])) {
        $this->testTriggeredPhpunitWarningEvents[$event->test()
            ->id()] = [];
    }
    $this->testTriggeredPhpunitWarningEvents[$event->test()
        ->id()][] = $event;
}
RSS feed
Powered by Drupal