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

Breadcrumb

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

function DispatchingEmitter::testTriggeredPhpunitError

@psalm-param non-empty-string $message

Throws

InvalidArgumentException

UnknownEventTypeException

Overrides Emitter::testTriggeredPhpunitError

File

vendor/phpunit/phpunit/src/Event/Emitter/DispatchingEmitter.php, line 950

Class

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

Namespace

PHPUnit\Event

Code

public function testTriggeredPhpunitError(Code\Test $test, string $message) : void {
    $this->dispatcher
        ->dispatch(new Test\PhpunitErrorTriggered($this->telemetryInfo(), $test, $message));
}
RSS feed
Powered by Drupal