Code Duplication    Length = 7-8 lines in 2 locations

src/ChunkRunner.php 1 location

@@ 230-236 (lines=7) @@
227
            $this->output->writeln('');
228
        }
229
230
        if ($code > 0) {
231
            $this->output->writeln('');
232
233
            if (!$this->verbose) {
234
                $this->output->writeln($process->getOutput());
235
            }
236
        }
237
    }
238
239
    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
    }