PHPUnit_Framework_Constraint::additionalFailureDescription
Return additional failure description where needed
The function can be overridden to provide additional failure information like a diff
Signature
protected function additionalFailureDescription(mixed
$other )
Parameters
$other
— mixed- Evaluated value or object.
Returns
- string
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
168 | UnusedFormalParameter | Avoid unused parameters such as '$other'. |