PHPUnit_Framework_Constraint::fail
Throws an exception for the given compared value and test description
Signature
protected function fail(mixed
$other,
[ComparisonFailure
$description = null,
[ComparisonFailure
$comparisonFailure = null]] )
Parameters
$other
— mixed- Evaluated value or object.
$description
— string- Additional information about the test
$comparisonFailure
— SebastianBergmann\Comparator\ComparisonFailure
Errors/Exceptions
Violations
Checkstyle
Line | Column | Severity | Message |
---|---|---|---|
136 | 124 | warning | Line exceeds 120 characters; contains 123 characters |