protected function PHPUnit_Framework_Constraint::additionalFailureDescription in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint.php \PHPUnit_Framework_Constraint::additionalFailureDescription()
Return additional failure description where needed
The function can be overridden to provide additional failure information like a diff
Parameters
mixed $other Evaluated value or object.:
Return value
string
1 call to PHPUnit_Framework_Constraint::additionalFailureDescription()
- PHPUnit_Framework_Constraint::fail in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint.php - Throws an exception for the given compared value and test description
1 method overrides PHPUnit_Framework_Constraint::additionalFailureDescription()
- PHPUnit_Framework_Constraint_StringMatches::additionalFailureDescription in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ StringMatches.php - Return additional failure description where needed
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint.php, line 125
Class
- PHPUnit_Framework_Constraint
- Abstract base class for constraints. which are placed upon any value.
Code
protected function additionalFailureDescription($other) {
return '';
}