Code Duplication    Length = 5-5 lines in 2 locations

src/Commands/RunCommand.php 2 locations

@@ 176-180 (lines=5) @@
173
            } else {
174
                $output->writeln('Could not find clover file for code coverage analysis.');
175
            }
176
            if ($methodsProvider !== null) {
177
                $message->addDifferencesHtml($methodsProvider, $previousMethodsProvider, $diffService, $commitSha, $gitlabUrl, $projectName);
178
            } else {
179
                $output->writeln('Could not find clover file nor crap4j file for CRAP score analysis.');
180
            }
181
182
            $this->addFilesToMessage($message, $files, $output, $config);
183
@@ 208-212 (lines=5) @@
205
                    $output->writeln('Could not find clover file for code coverage analysis.');
206
                }
207
208
                if ($methodsProvider !== null) {
209
                    $message->addDifferencesHtml($methodsProvider, $lastCommitMethodsProvider, $diffService, $commitSha, $gitlabUrl, $projectName);
210
                } else {
211
                    $output->writeln('Could not find clover file nor crap4j file for CRAP score analysis.');
212
                }
213
214
                $this->addFilesToMessage($message, $files, $output, $config);
215