Completed
Push — master ( 5ea837...9dec3c )
by Paul
9s
created

Shell   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 23
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getHeader() 0 15 1
1
<?php
2
/**
3
 * This file is part of the PPI Framework.
4
 *
5
 * @copyright  Copyright (c) 2011-2016 Paul Dragoonis <[email protected]>
6
 * @license    http://opensource.org/licenses/mit-license.php MIT
7
 *
8
 * @link       http://www.ppi.io
9
 */
10
11
namespace PPI\Framework\Console;
12
13
use Symfony\Component\Console\Shell as BaseShell;
14
15
/**
16
 * Shell.
17
 *
18
 * @author      Vítor Brandão <[email protected]>
19
 */
20
class Shell extends BaseShell
0 ignored issues
show
Deprecated Code introduced by
The class Symfony\Component\Console\Shell has been deprecated with message: since version 2.8, to be removed in 3.0.

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
21
{
22
    /**
23
     * Returns the shell header.
24
     *
25
     * @return string The header string
26
     */
27
    protected function getHeader()
28
    {
29
        return <<<EOF
30
<info>
31
           _____   _____ |_|
32
          / __  | /  __ | /|
33
         | |__| || |__| || |
34
         |  ___/ |  ___/ | |
35
         | |     | |     |_|
36
         |/      |/
37
38
</info>
39
EOF
40
        . parent::getHeader();
41
    }
42
}
43