1 | <?php |
||
2 | |||
3 | /** |
||
4 | * © 2018 - Phoponent |
||
5 | * Author: Nicolas Choquet |
||
6 | * Email: [email protected] |
||
7 | * LICENSE GPL ( GNU General Public License ) |
||
8 | */ |
||
9 | |||
10 | namespace phoponent\framework\command; |
||
11 | |||
12 | |||
13 | use phoponent\framework\traits\command; |
||
14 | |||
15 | class initialize { |
||
16 | use command; |
||
17 | |||
18 | public function dependencies() { |
||
19 | $dir = opendir("phoponent/external_libs"); |
||
20 | while (($directory = readdir($dir)) !== false) { |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
21 | if($directory !== '..' && $directory !== '.') { |
||
22 | exec("cd phoponent/external_libs/{$directory} && composer install"); |
||
23 | } |
||
24 | } |
||
25 | } |
||
26 | } |