OutputFormatter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
/*
4
 * This file is part of the Geotools library.
5
 *
6
 * (c) Antoine Corcy <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace League\Geotools\CLI\Formatter;
13
14
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
15
16
/**
17
 * @author Antoine Corcy <[email protected]>
18
 */
19
class OutputFormatter extends \Symfony\Component\Console\Formatter\OutputFormatter
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function __construct($decorated = false, array $styles = array())
25
    {
26
        $this->setStyle('label', new OutputFormatterStyle('yellow', 'black'));
27
        $this->setStyle('value', new OutputFormatterStyle('green', 'black'));
28
29
        parent::__construct($decorated, $styles);
30
    }
31
}
32