PHPUnit_Framework_Constraint::matches
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
This method can be overridden to implement the evaluation algorithm.
Signature
protected function matches(mixed
$other )
Parameters
$other
— mixed- Value or object to evaluate.
Returns
- bool
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
112 | UnusedFormalParameter | Avoid unused parameters such as '$other'. |