PHPUnit_Util_Test::getExpectedException
Returns the expected exception for a test.
Signature
public function getExpectedException(string
$className,
string
$methodName )
Parameters
$className
— string$methodName
— string
Returns
- array
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
307 - 358 | CyclomaticComplexity | The method getExpectedException() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |