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

Breadcrumb

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

function DispatchingEmitter::testTriggeredPhpDeprecation

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

Throws

InvalidArgumentException

UnknownEventTypeException

Overrides Emitter::testTriggeredPhpDeprecation

File

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

Class

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

Namespace

PHPUnit\Event

Code

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