We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 1 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class RequireThemeCoreuiv4 extends Command |
||
| 8 | { |
||
| 9 | use InstallsTheme; |
||
|
|
|||
| 10 | |||
| 11 | /** |
||
| 12 | * The name and signature of the console command. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $signature = 'backpack:require:theme-coreuiv4 |
||
| 17 | {--debug} : Show process output or not. Useful for debugging.'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The console command description. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $description = 'Install the CoreUIv4 theme'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Backpack addons install attribute. |
||
| 28 | * |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | public static $addon = [ |
||
| 32 | 'name' => 'CoreUIv4', |
||
| 33 | 'description' => [ |
||
| 34 | 'UI provided by CoreUIv4, a Boostrap 5 template.', |
||
| 35 | '<fg=blue>https://github.com/laravel-backpack/theme-coreuiv4/</>', |
||
| 36 | ], |
||
| 37 | 'repo' => 'backpack/theme-coreuiv4', |
||
| 38 | 'path' => 'vendor/backpack/theme-coreuiv4', |
||
| 39 | 'command' => 'backpack:require:theme-coreuiv4', |
||
| 40 | 'view_namespace' => 'backpack.theme-coreuiv4::', |
||
| 41 | 'publish_tag' => 'theme-coreuiv4-config', |
||
| 42 | 'provider' => '\Backpack\ThemeCoreuiv4\AddonServiceProvider', |
||
| 43 | ]; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Execute the console command. |
||
| 47 | * |
||
| 48 | * @return mixed Command-line output |
||
| 49 | */ |
||
| 50 | public function handle() |
||
| 55 |