| Total Complexity | 5 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class RemoveInstallerFolder extends Task |
||
| 13 | { |
||
| 14 | protected $taskStep = 's20'; |
||
| 15 | |||
| 16 | protected $package = ''; |
||
| 17 | |||
| 18 | protected $newVersion = ''; |
||
| 19 | |||
| 20 | protected $newPackage = ''; |
||
| 21 | |||
| 22 | public function getTitle() |
||
| 23 | { |
||
| 24 | return 'Remove installer-name from composer.json'; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getDescription() |
||
| 30 | Remove installer folder from composer.json file so that package |
||
| 31 | installs into vendor folder.'; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function runActualTask($params = []): ?string |
||
| 50 | } |
||
| 51 | |||
| 52 | protected function hasCommitAndPush() |
||
| 57 |