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

Breadcrumb

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

function DispatchingEmitter::testTriggeredDeprecation

@psalm-param non-empty-string $message @psalm-param non-empty-string $file @psalm-param positive-int $line

Throws

InvalidArgumentException

UnknownEventTypeException

Overrides Emitter::testTriggeredDeprecation

File

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

Class

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

Namespace

PHPUnit\Event

Code

public function testTriggeredDeprecation(Code\Test $test, string $message, string $file, int $line, bool $suppressed, bool $ignoredByBaseline, bool $ignoredByTest) : void {
    $this->dispatcher
        ->dispatch(new Test\DeprecationTriggered($this->telemetryInfo(), $test, $message, $file, $line, $suppressed, $ignoredByBaseline, $ignoredByTest));
}
RSS feed
Powered by Drupal