Conditions | 4 |
Paths | 4 |
Total Lines | 18 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | private function createInstallList(array $mergeList) |
||
37 | { |
||
38 | $installList = []; |
||
39 | $config = Watchmaker::getConfig(); |
||
40 | |||
41 | foreach ($mergeList as $watchmakerCore) |
||
42 | { |
||
43 | if ($watchmakerCore->isCronOnly() === true) |
||
44 | { |
||
45 | if ($config->delete === true) { |
||
46 | continue; |
||
47 | } |
||
48 | } |
||
49 | |||
50 | $installList[] = $watchmakerCore; |
||
51 | } |
||
52 | |||
53 | return $installList; |
||
54 | } |
||
56 |