Passed
Push — master ( 32ec39...4f5ed5 )
by Aranea
38:11 queued 23:10
created

Kernel   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 1
c 2
b 1
f 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A schedule() 0 3 1
1
<?php
2
3
namespace AraneaDev\Electrum\App\Console;
4
5
use App\Console\Kernel as ConsoleKernel;
0 ignored issues
show
Bug introduced by
The type App\Console\Kernel was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
use Illuminate\Console\Scheduling\Schedule;
7
8
/**
9
 * Class Kernel.
10
 */
11
class Kernel extends ConsoleKernel
12
{
13
    /**
14
     * Define the package's command schedule.
15
     *
16
     * @param \Illuminate\Console\Scheduling\Schedule $schedule
17
     *
18
     * @return void
19
     */
20
    protected function schedule(Schedule $schedule)
21
    {
22
        parent::schedule($schedule);
23
24
        //$schedule->command('')->daily();
25
    }
26
}
27