| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 90 | 5 | public function getScanOptions() |
|
| 91 | { |
||
| 92 | 5 | $scanOptions = []; |
|
| 93 | 5 | $properties = ['exclude', 'analyser', 'analysis', 'processors']; |
|
| 94 | |||
| 95 | 5 | foreach ($properties as $property) { |
|
| 96 | 5 | if ($this->$property) { |
|
| 97 | 4 | $scanOptions[$property] = $this->$property; |
|
| 98 | 4 | } |
|
| 99 | 5 | } |
|
| 100 | |||
| 101 | 5 | return $scanOptions; |
|
| 102 | } |
||
| 103 | |||
| 112 |