Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
32 | 129 | public function notifyAll(TestResult $result) |
|
33 | { |
||
34 | 129 | foreach ($this->resultReporters as $reporter) { |
|
35 | try { |
||
36 | 129 | $reporter->notify($result); |
|
37 | 129 | } catch (\Exception $ex) { |
|
38 | 1 | $this->logger->error('An error occurred whilst calling ResultReporter ' . \get_class($reporter) . ':' . $ex); |
|
39 | } |
||
40 | 129 | } |
|
41 | 129 | } |
|
42 | |||
52 |