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

Application::getLongVersion()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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