Documentation

WarningTriggered
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
$ignoredByBaseline  : bool
$line  : int
$message  : string
$suppressed  : bool
$telemetryInfo  : Info
$test  : Test

Methods

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

Properties

$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, bool $ignoredByBaseline) : mixed
Parameters
$telemetryInfo : Info
$test : Test
$message : string
$file : string
$line : int
$suppressed : bool
$ignoredByBaseline : 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

ignoredByBaseline()

public ignoredByBaseline() : bool
Return values
bool

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

        
On this page

Search results