Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class ComposerHelper |
||
16 | { |
||
17 | private static function findComposer() |
||
18 | { |
||
19 | if (file_exists(getcwd().'/composer.phar')) { |
||
20 | return '"'.PHP_BINARY.'" '.getcwd().'/composer.phar'; |
||
21 | } |
||
22 | |||
23 | return 'composer'; |
||
24 | } |
||
25 | |||
26 | private static function findPHP() { |
||
27 | return PHP_BINARY; |
||
28 | } |
||
29 | |||
30 | public static function dumpAutoLoad() |
||
36 | } |
||
37 | |||
38 | public static function composerRemove($package) { |
||
45 | } |
||
46 | |||
47 | public static function composerRequire($package, $serviceProvider) { |
||
61 | } |
||
62 | |||
63 | } |