Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
66.67% covered (warning)
66.67%
2 / 3
50.00% covered (danger)
50.00%
1 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
Kernel
66.67% covered (warning)
66.67%
2 / 3
50.00% covered (danger)
50.00%
1 / 2
2.15
0.00% covered (danger)
0.00%
0 / 1
 schedule
0.00% covered (danger)
0.00%
0 / 1
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    }
17
18    /**
19     * Register the commands for the application.
20     */
21    protected function commands(): void
22    {
23        $this->load(__DIR__ . '/Commands');
24        require base_path('routes/console.php');
25    }
26}