Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 4.125 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | 1 | public function addFailure( |
|
22 | PHPUnit_Framework_Test $test, |
||
23 | PHPUnit_Framework_AssertionFailedError $eception, |
||
24 | $time |
||
25 | ) { |
||
26 | 1 | if ($test instanceof FailureActionInterface) { |
|
27 | 1 | foreach ($test->getFailureActions() as $callback) { |
|
28 | call_user_func($callback, $this->getUniqueName($test)); |
||
29 | } |
||
30 | } |
||
31 | } |
||
32 | |||
42 |