Code Duplication    Length = 7-7 lines in 2 locations

Helper/ConsoleReporter.php 1 location

@@ 28-34 (lines=7) @@
25
    /**
26
     * @param OutputInterface $output
27
     */
28
    public function __construct(OutputInterface $output = null)
29
    {
30
        if (null === $output) {
31
            $output = new ConsoleOutput();
32
        }
33
        $this->output = $output;
34
    }
35
36
    public function setOutput(OutputInterface $output)
37
    {

Helper/RawConsoleReporter.php 1 location

@@ 28-34 (lines=7) @@
25
    /**
26
     * @param OutputInterface $output
27
     */
28
    public function __construct(OutputInterface $output = null)
29
    {
30
        if (null === $output) {
31
            $output = new ConsoleOutput();
32
        }
33
        $this->output = $output;
34
    }
35
36
    public function setOutput(OutputInterface $output)
37
    {