Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class AddLegacyBranch extends Task |
||
13 | { |
||
14 | protected $taskStep = 's10'; |
||
15 | |||
16 | /** |
||
17 | * @var string what should the legacy branch be called |
||
18 | */ |
||
19 | protected $nameOfLegacyBranch = '3'; |
||
20 | |||
21 | public function getTitle() |
||
24 | } |
||
25 | |||
26 | public function getDescription() |
||
31 | can keep making bugfixes to older versions. |
||
32 | In the recipes you can see how to set the name of the legacy branch.'; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param array $params not currently used for this task |
||
37 | */ |
||
38 | public function runActualTask($params = []): ?string |
||
47 | } |
||
48 | |||
49 | protected function hasCommitAndPush() |
||
54 |