Documentation

ErrorTriggered
in package
implements Event

FinalYes
Tags
psalm-immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Interfaces

Event

Properties

$file  : string
$line  : int
$message  : string
$suppressed  : bool
$telemetryInfo  : Info
$test  : Test

Methods

__construct()  : mixed
asString()  : string
file()  : string
line()  : int
message()  : string
telemetryInfo()  : Info
test()  : Test
wasSuppressed()  : bool

Properties

$file read-only

private string $file
Tags
psalm-var

non-empty-string

$message read-only

private string $message
Tags
psalm-var

non-empty-string

Methods

__construct()

public __construct(Info $telemetryInfo, Test $test, string $message, string $file, int $line, bool $suppressed) : mixed
Parameters
$telemetryInfo : Info
$test : Test
$message : string
$file : string
$line : int
$suppressed : bool
Tags
psalm-param

non-empty-string $message

psalm-param

non-empty-string $file

psalm-param

positive-int $line

file()

public file() : string
Tags
psalm-return

non-empty-string

Return values
string

line()

public line() : int
Tags
psalm-return

positive-int

Return values
int

message()

public message() : string
Tags
psalm-return

non-empty-string

Return values
string

wasSuppressed()

public wasSuppressed() : bool
Return values
bool

        
On this page

Search results