PHPCSUtils

TestTargetNotFound extends OutOfBoundsException
in package

Exception thrown when a test target token can not be found in a test case file.

Tags
since
1.0.0-alpha4

Table of Contents

create()  : TestMarkerNotFound
Create a new "test target token not found" exception with a standardized text.

Methods

create()

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

public static create(string $marker, string $content, string $file) : TestMarkerNotFound
Parameters
$marker : string

The delimiter comment.

$content : string

The (optional) target token content.

$file : string

The file in which the target token was not found.

Tags
since
1.0.0-alpha4
Return values
TestMarkerNotFound

Search results