ConsoleOutput::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
nc 1
nop 3
crap 2
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\Output;
13
14
use League\Geotools\CLI\Formatter\OutputFormatter;
15
use Symfony\Component\Console\Formatter\OutputFormatterInterface;
16
17
/**
18
 * @author Antoine Corcy <[email protected]>
19
 */
20
class ConsoleOutput extends \Symfony\Component\Console\Output\ConsoleOutput
21
{
22
    /**
23
     * {@inheritdoc}
24
     */
25
    public function __construct($verbosity = self::VERBOSITY_NORMAL, $decorated = null, OutputFormatterInterface $formatter = null)
26
    {
27
        parent::__construct($verbosity, $decorated, new OutputFormatter);
28
    }
29
}
30