diff --git a/src/Parallel/Scheduler.php b/src/Parallel/Scheduler.php index 239db76681..879cdcc5f5 100644 --- a/src/Parallel/Scheduler.php +++ b/src/Parallel/Scheduler.php @@ -65,12 +65,7 @@ public function print(Output $output): void [$cpuCores, $filesCount, $jobsCount, $usedNumberOfProcesses] = $this->storedData; $output->writeLineFormatted('Parallel processing scheduler:'); - $output->writeLineFormatted(sprintf( - '# of detected CPU %s: %s%d', - $cpuCores === 1 ? 'core' : 'cores', - $cpuCores === 1 ? '' : ' ', - $cpuCores, - )); + $output->writeLineFormatted(sprintf('# of detected CPU cores: %d', $cpuCores)); $output->writeLineFormatted(sprintf('# of analysed files: %d', $filesCount)); $output->writeLineFormatted(sprintf('# of jobs: %d', $jobsCount)); $output->writeLineFormatted(sprintf('# of spawned processes: %d', $usedNumberOfProcesses));