Completed
Push — master ( 15ce78...c333c0 )
by Freek
02:35
created

Application   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getLongVersion() 0 4 1
1
<?php
2
3
namespace Spatie\Php7to5\Console;
4
5
use Symfony\Component\Console\Application as ConsoleApplication;
6
7
class Application extends ConsoleApplication
8
{
9
    public function __construct()
10
    {
11
        parent::__construct('php7to5', '1.0.0');
12
13
        $this->add(new ConvertCommand());
14
    }
15
16
    public function getLongVersion()
17
    {
18
        return parent::getLongVersion().' by <comment>Hannes Van De Vreken & Freek Van der Herten</comment>';
19
    }
20
}
21