We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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 | ); |
||
| 48 |