Conditions | 3 |
Paths | 3 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | protected function itemAction($fileName, $pathToFile) |
||
14 | { |
||
15 | //Call parent method to check ignored files |
||
16 | $parentAction = parent::itemAction($fileName, $pathToFile); |
||
17 | |||
18 | if (!empty($parentAction)) { |
||
19 | return $parentAction; |
||
20 | } |
||
21 | |||
22 | //Detect the file containing module infos |
||
23 | if ($fileName === 'bfwModulesInfos.json') { |
||
24 | $this->list[] = $pathToFile; |
||
25 | |||
26 | return 'break'; |
||
27 | } |
||
28 | |||
29 | return ''; |
||
30 | } |
||
31 | } |
||
32 |