Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
50.00% covered (danger)
50.00%
2 / 4
50.00% covered (danger)
50.00%
1 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
Kernel
50.00% covered (danger)
50.00%
2 / 4
50.00% covered (danger)
50.00%
1 / 2
2.50
0.00% covered (danger)
0.00%
0 / 1
 schedule
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
 commands
100.00% covered (success)
100.00%
2 / 2
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace App\Console;
4
5use Illuminate\Console\Scheduling\Schedule;
6use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7
8class Kernel extends ConsoleKernel
9{
10    /**
11     * Define the application's command schedule.
12     */
13    protected function schedule(Schedule $schedule): void
14    {
15        $schedule->command('app:check-company-expiration')->dailyAt('00:01');
16        $schedule->command('telescope::prune')->daily();
17    }
18
19    /**
20     * Register the commands for the application.
21     */
22    protected function commands(): void
23    {
24        $this->load(__DIR__ . '/Commands');
25        require base_path('routes/console.php');
26    }
27}