We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 5 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class UpgradeCommandConfig implements UpgradeConfigInterface |
||
| 9 | { |
||
| 10 | public function steps(): array |
||
| 13 | } |
||
| 14 | |||
| 15 | public function addons(): array |
||
| 18 | } |
||
| 19 | |||
| 20 | public function upgradeCommandDescription(): ?callable |
||
| 21 | { |
||
| 22 | return function (UpgradeCommand $command): void { |
||
| 23 | $command->note( |
||
| 24 | 'Thank you for choosing Backpack. If you are reading this, most likely you are upgrading from v6 to v7.'.PHP_EOL. |
||
| 25 | ' We have prepared an upgrade guide to help you with the process: <fg=cyan>https://backpackforlaravel.com/docs/7.x/upgrade-guide</>', |
||
| 26 | 'green', |
||
| 27 | 'green' |
||
| 28 | ); |
||
| 29 | |||
| 30 | $command->note( |
||
| 31 | 'You can choose <fg=magenta>v7</> option bellow, or call it later with: <fg=magenta>backpack:upgrade --version=7</>.', |
||
| 32 | 'yellow', |
||
| 33 | 'yellow' |
||
| 34 | ); |
||
| 35 | }; |
||
| 36 | } |
||
| 37 | |||
| 38 | public static function backpackCrudRequirement(): string |
||
| 41 | } |
||
| 42 | |||
| 43 | public static function postUpgradeCommands(): array |
||
| 46 | } |
||
| 47 | } |
||
| 48 |