PHPUnit_Util_Filter::getFilteredStacktrace
Filters stack frames from PHPUnit classes.
Signature
public function getFilteredStacktrace(Exception
$e,
[boolean
$asString = true] )
Parameters
$e— Exception
$asString— boolean
Returns
- string
Violations
PHPMessDetector
| Line | Rule | Message |
|---|---|---|
| 66 - 124 | CyclomaticComplexity | The method getFilteredStacktrace() has a Cyclomatic Complexity of 16. The configured cyclomatic complexity threshold is 10. |
| 66 - 124 | NPathComplexity | The method getFilteredStacktrace() has an NPath complexity of 416. The configured NPath complexity threshold is 200. |
Checkstyle
| Line | Column | Severity | Message |
|---|---|---|---|
| 100 | 26 | error | Only one argument is allowed per line in a multi-line function call |