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