| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class AddUpgradeBranch extends Task |
||
| 13 | { |
||
| 14 | protected $taskStep = 's10'; |
||
| 15 | |||
| 16 | public function getTitle() |
||
| 17 | { |
||
| 18 | return 'Creates a start branch for upgrading'; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getDescription() |
||
| 26 | If it does not exist. |
||
| 27 | These branch names can be customised with setNameOfUpgradeStarterBranch and setNameOfBranchForBaseCode. |
||
| 28 | '; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param array $params not currently used for this task |
||
| 33 | */ |
||
| 34 | public function runActualTask($params = []): ?string |
||
| 42 | } |
||
| 43 | |||
| 44 | protected function hasCommitAndPush() |
||
| 49 |