Completed
Push — master ( 25f226...cc0a72 )
by Morgan
03:23
created

DeployInfoCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 3
Bugs 0 Features 1
Metric Value
wmc 1
c 3
b 0
f 1
lcom 0
cbo 1
dl 0
loc 24
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 4 1
1
<?php
2
3
namespace Morphatic\AutoDeploy\Commands;
4
5
use Illuminate\Console\Command;
6
7
class DeployInfoCommand extends Command
8
{
9
    /**
10
     * The console command name.
11
     *
12
     * @var string
13
     */
14
    protected $name = 'deploy:info';
15
16
    /**
17
     * The console command description.
18
     *
19
     * @var string
20
     */
21
    protected $description = 'Display information necessary to set up a deployment webhook';
22
23
    /**
24
     * Execute the console command.
25
     */
26 2
    public function handle()
27
    {
28 2
        $this->call('deploy:init', ['--show' => true]);
29 2
    }
30
}
31