GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Kernel::schedule()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
namespace App\Console;
4
5
use App\Console\Commands\ManageUsers;
6
use Illuminate\Console\Scheduling\Schedule;
7
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
8
9
class Kernel extends ConsoleKernel
10
{
11
    /**
12
     * The Artisan commands provided by your application.
13
     *
14
     * @var array
15
     */
16
    protected $commands = [
17
        ManageUsers::class,
18
    ];
19
20
    /**
21
     * Define the application's command schedule.
22
     *
23
     * @param \Illuminate\Console\Scheduling\Schedule $schedule
24
     *
25
     * @return void
26
     */
27
    protected function schedule(Schedule $schedule)
28
    {
29
        // $schedule->command('inspire')
0 ignored issues
show
Unused Code Comprehensibility introduced by
72% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
30
        //          ->hourly();
0 ignored issues
show
Unused Code Comprehensibility introduced by
67% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
31
    }
32
33
    /**
34
     * Register the Closure based commands for the application.
35
     *
36
     * @return void
37
     */
38
    protected function commands()
39
    {
40
        require base_path('routes/console.php');
41
    }
42
}
43