final class PhptAssertionFailedError extends AssertionFailedError (View source)

internal  This class is not covered by the backward compatibility promise for PHPUnit
 

Properties

protected list<array{file: string, line: int, function: string}> $serializableTrace from  Exception

Methods

__construct(string $message, int|string $code, string $file, int $line, array $trace, string $diff)

No description

array
__serialize()

No description

array
getSerializableTrace()

Returns the serializable trace (without 'args').

string
toString()

Wrapper for getMessage() which is declared as final.

string
syntheticFile()

No description

int
syntheticLine()

No description

array
syntheticTrace()

No description

string
diff()

No description

Details

__construct(string $message, int|string $code, string $file, int $line, array $trace, string $diff)

No description

Parameters

string $message
int|string $code
string $file
int $line
array $trace
string $diff

array __serialize()

No description

Return Value

array

array getSerializableTrace()

Returns the serializable trace (without 'args').

Return Value

array

string toString()

Wrapper for getMessage() which is declared as final.

Return Value

string

string syntheticFile()

No description

Return Value

string

int syntheticLine()

No description

Return Value

int

array syntheticTrace()

No description

Return Value

array

string diff()

No description

Return Value

string