Showing 2 of 2 total issues
Method boot
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function boot()
{
$this->publishes([
__DIR__ . '/../config/backup.php' => base_path('config/backup.php'),
]);
Method handle
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle()
{
$this->info('Starting database backup');
$backupStoragePath = config('backup.path', base_path('database/backups'));