Total Complexity | 4 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class ComposerInstallProject extends Task |
||
16 | { |
||
17 | protected $taskStep = 's20'; |
||
18 | |||
19 | protected $versionToLoad = ''; |
||
20 | |||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $composerOptions = '--prefer-dist'; |
||
26 | |||
27 | public function getTitle() |
||
28 | { |
||
29 | return 'use Composer to install requirements.'; |
||
30 | } |
||
31 | |||
32 | public function getDescription() |
||
33 | { |
||
34 | return ''; |
||
35 | } |
||
36 | |||
37 | public function runActualTask($params = []): ?string |
||
51 | } |
||
52 | |||
53 | |||
54 | protected function hasCommitAndPush() |
||
59 |