PHPUnit_Framework_Constraint_IsType::matches
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
Signature
protected function matches(mixed
$other )
Parameters
$other
—
mixed
- Value or object to evaluate.
Returns
- bool
Parent Implementation
Violations
PHPMessDetector
Line |
Rule |
Message |
128 - 177 |
CyclomaticComplexity
|
The method matches() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10. |
Checkstyle
Line |
Column |
Severity |
Message |
131 |
13 |
error
|
CASE statements must not be defined using curly braces |
136 |
13 |
error
|
CASE statements must not be defined using curly braces |
140 |
13 |
error
|
CASE statements must not be defined using curly braces |
144 |
13 |
error
|
CASE statements must not be defined using curly braces |
149 |
13 |
error
|
CASE statements must not be defined using curly braces |
153 |
13 |
error
|
CASE statements must not be defined using curly braces |
157 |
13 |
error
|
CASE statements must not be defined using curly braces |
161 |
13 |
error
|
CASE statements must not be defined using curly braces |
165 |
13 |
error
|
CASE statements must not be defined using curly braces |
169 |
13 |
error
|
CASE statements must not be defined using curly braces |
173 |
13 |
error
|
CASE statements must not be defined using curly braces |