Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
14 | 3 | public function addRiskyTest(\PHPUnit_Framework_Test $test, \Exception $e, $time) |
|
15 | { |
||
16 | if (/* Must be PHPUnit_Framework_TestCase instance to have access to "getTestResultObject" method */ |
||
17 | $test instanceof \PHPUnit_Framework_TestCase |
||
18 | 3 | && $e instanceof \PHPUnit_Framework_OutputError |
|
19 | 3 | ) { |
|
20 | 3 | $this->removeCoverageFor($test); |
|
21 | 3 | } |
|
22 | 3 | } |
|
23 | |||
48 |