Completed
Push — master ( 32afa0...0ba30b )
by Mahmoud
05:59 queued 02:44
created

PortConsoleKernel::commands()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace App\Port\Kernel;
4
5
//use App\Port\Console\Commands\CloneContainersCommand;
0 ignored issues
show
Unused Code Comprehensibility introduced by
45% 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...
6
//use App\Port\Console\Commands\DeleteContainersCommand;
7
use Illuminate\Console\Scheduling\Schedule;
8
use Illuminate\Foundation\Console\Kernel as LaravelConsoleKernel;
9
10
/**
11
 * Class PortConsoleKernel
12
 *
13
 * A.K.A (app/Console/Kernel.php)
14
 *
15
 * @author  Mahmoud Zalt  <[email protected]>
16
 */
17
class PortConsoleKernel extends LaravelConsoleKernel
18
{
19
    /**
20
     * The Artisan commands provided by your application.
21
     *
22
     * @var array
23
     */
24
    protected $commands = [
25
//        CloneContainersCommand::class,
0 ignored issues
show
Unused Code Comprehensibility introduced by
37% 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...
26
//        DeleteContainersCommand::class,
27
    ];
28
29
    /**
30
     * Define the application's command schedule.
31
     *
32
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
33
     * @return void
34
     */
35
    protected function schedule(Schedule $schedule)
36
    {
37
38
    }
39
40
    /**
41
     * Register the Closure based commands for the application.
42
     *
43
     * @return void
44
     */
45
    protected function commands()
46
    {
47
//        require base_path('routes/console.php');
0 ignored issues
show
Unused Code Comprehensibility introduced by
63% 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...
48
    }
49
}
50