Completed
Push — master ( fe538a...f85101 )
by Pascal
02:23
created

Application::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 18
Code Lines 15

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 15
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 18
ccs 15
cts 15
cp 1
rs 9.4286
cc 1
eloc 15
nc 1
nop 0
crap 1
1
<?php
2
namespace MtGTutor\Console;
3
4
use Symfony\Component\Console\Application as BaseApplication;
5
6
/**
7
 * Class Application
8
 * @package MtGTutor\Console
9
 */
10
class Application extends BaseApplication
11
{
12
    /**
13
     * @var string
14
     */
15
    const NAME = 'MtG-Tutor.de Helpers CLI';
16
17
    /**
18
     * @var string
19
     */
20
    const VERSION = '1.0';
21
22
    /**
23
     * Application constructor.
24
     */
25 3
    public function __construct()
26
    {
27
        $name =
28 3
            '        __  ___ __   ______      ______        __                     __    ' . PHP_EOL .
29 3
            '       /  |/  // /_ / ____/     /_  __/__  __ / /_ ____   _____  ____/ /___ ' . PHP_EOL .
30 3
            '      / /|_/ // __// / __ ______ / /  / / / // __// __ \ / ___/ / __  // _ \\' . PHP_EOL .
31 3
            '     / /  / // /_ / /_/ //_____// /  / /_/ // /_ / /_/ // /  _ / /_/ //  __/' . PHP_EOL .
32 3
            '    /_/  /_/ \__/ \____/       /_/   \__,_/ \__/ \____//_/  (_)\__,_/ \___/ ' . PHP_EOL .
33 3
            '                                                                            ' . PHP_EOL .
34 3
            '           __  __       __                            ______ __     ____' . PHP_EOL .
35 3
            '          / / / /___   / /____   ___   _____ _____   / ____// /    /  _/' . PHP_EOL .
36 3
            '         / /_/ // _ \ / // __ \ / _ \ / ___// ___/  / /    / /     / /  ' . PHP_EOL .
37 3
            '        / __  //  __// // /_/ //  __// /   (__  )  / /___ / /___ _/ /   ' . PHP_EOL .
38 3
            '       /_/ /_/ \___//_// .___/ \___//_/   /____/   \____//_____//___/   ' . PHP_EOL .
39 3
            '                      /_/                                               ' . PHP_EOL;
40
41 3
        parent::__construct($name . static::NAME, static::VERSION);
42 3
    }
43
}
44