PHPCSUtils

TestFileNotFound extends BadMethodCallException
in package

Exception thrown when the UtilityMethodTestCase::getTargetToken() method is run without a tokenized test case file being available.

Tags
since
1.0.0-alpha4

Table of Contents

__construct()  : void
Create a new "test file not found" exception with a standardized text.

Methods

__construct()

Create a new "test file not found" exception with a standardized text.

public __construct([string $message = '' ], int $code[, Throwable|null $previous = null ]) : void
Parameters
$message : string = ''

The Exception message to throw.

$code : int

The Exception code.

$previous : Throwable|null = null

The previous exception used for the exception chaining.

Tags
since
1.0.0-alpha4
Return values
void

Search results