| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 57 | private function applyCoverageBounds(ConfigurationBuilder $builder) |
||
| 58 | { |
||
| 59 | $default = new Config([ |
||
| 60 | 'critical' => 35.0, |
||
| 61 | 'satisfactory' => 70.0 |
||
| 62 | ]); |
||
| 63 | |||
| 64 | $coverageBounds = $this->getValue('coverageBounds', $default); |
||
| 65 | $critical = $coverageBounds->get('critical'); |
||
| 66 | $satisfactory = $coverageBounds->get('satisfactory'); |
||
| 67 | |||
| 68 | $builder->coverageBounds($critical, $satisfactory); |
||
| 69 | |||
| 70 | return $this; |
||
| 71 | } |
||
| 72 | |||
| 74 |