Completed
Push — master ( 58d3fb...59de8c )
by Lexey
05:17
created

Application   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 14
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace LF\EnvDiff\Console;
4
5
use LF\EnvDiff\Console\Command\ActualizeCommand;
6
use LF\EnvDiff\Console\Command\DiffCommand;
7
use Symfony\Component\Console\Application as BaseApplication;
8
9
class Application extends BaseApplication
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14 1
    public function __construct()
15
    {
16 1
        parent::__construct('Env diff', '1.0.0');
17
18 1
        $this->setAutoExit(true);
19 1
        $this->add(new DiffCommand('diff'));
20 1
        $this->add(new ActualizeCommand('actualize'));
21 1
    }
22
}
23