| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class WebrootUpdate extends Task |
||
| 12 | { |
||
| 13 | protected $param1 = ''; |
||
| 14 | |||
| 15 | protected $param2 = ''; |
||
| 16 | |||
| 17 | protected $rootDirForCommand = ''; |
||
| 18 | |||
| 19 | protected $settings = ''; |
||
| 20 | |||
| 21 | public function getTitle() |
||
| 22 | { |
||
| 23 | return 'Fix Folder Case'; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getDescription() |
||
| 29 | Runs the silverstripe/upgrade task "webroot". See: |
||
| 30 | https://github.com/silverstripe/silverstripe-upgrader#webroot. |
||
| 31 | Configure your project to use the public web root structure |
||
| 32 | introduced with SilverStripe 4.1'; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function runActualTask($params = []): ?string |
||
| 46 | } |
||
| 47 | |||
| 48 | public function hasCommitAndPush() |
||
| 53 |