Code Duplication    Length = 7-8 lines in 2 locations

src/ChunkRunner.php 1 location

@@ 220-226 (lines=7) @@
217
            $this->output->writeln('');
218
        }
219
220
        if ($code > 0) {
221
            $this->output->writeln('');
222
223
            if (!$this->verbose) {
224
                $this->output->writeln($process->getOutput());
225
            }
226
        }
227
    }
228
229
    private function countNumTestsInChunk(array $chunk) : int

src/Processes.php 1 location

@@ 90-97 (lines=8) @@
87
                    if ($this->stop) {
88
                        return $code;
89
                    }
90
                } else {
91
                    $this->output->writeln(sprintf('Chunk #%s <info>PASSED</info>', $chunkNum));
92
93
                    if ($this->verbose) {
94
                        $this->output->writeln('');
95
                        $this->output->write($process->getOutput());
96
                    }
97
                }
98
            }
99
        }
100
    }