Code Duplication    Length = 8-9 lines in 3 locations

src/Command/CompareCommand.php 3 locations

@@ 84-91 (lines=8) @@
81
            $writer->write($mergeResult);
82
        }
83
84
        if ($output->getVerbosity() >= Output::VERBOSITY_VERBOSE) {
85
            $writer = new Legend(
86
                $style,
87
                basename($input->getArgument('base')),
88
                basename($input->getArgument('current'))
89
            );
90
            $writer->write($mergeResult);
91
        }
92
93
        if ($output->getVerbosity() >= Output::VERBOSITY_QUIET) {
94
            $writer = new FileSummary(
@@ 93-101 (lines=9) @@
90
            $writer->write($mergeResult);
91
        }
92
93
        if ($output->getVerbosity() >= Output::VERBOSITY_QUIET) {
94
            $writer = new FileSummary(
95
                $style,
96
                basename($input->getArgument('base')),
97
                basename($input->getArgument('current'))
98
            );
99
100
            $writer->write($mergeResult);
101
        }
102
103
        if ($output->getVerbosity() >= Output::VERBOSITY_QUIET) {
104
            $writer = new Summary(
@@ 103-110 (lines=8) @@
100
            $writer->write($mergeResult);
101
        }
102
103
        if ($output->getVerbosity() >= Output::VERBOSITY_QUIET) {
104
            $writer = new Summary(
105
                $style,
106
                basename($input->getArgument('base')),
107
                basename($input->getArgument('current'))
108
            );
109
            $writer->write($mergeResult);
110
        }
111
    }
112
}
113