diff --git a/scripts/rector-jobsize-benchmark.php b/scripts/rector-jobsize-benchmark.php index 996da1338bd..0bb63d9d3a4 100644 --- a/scripts/rector-jobsize-benchmark.php +++ b/scripts/rector-jobsize-benchmark.php @@ -99,7 +99,7 @@ private function measure(int $jobSize, string $workingDirectory): array escapeshellarg($wrapperConfigPath) ); - printf("jobSize %-6d running ... ", $jobSize); + printf('jobSize %-6d running ... ', $jobSize); $startedAt = hrtime(true); exec($command, $outputLines, $exitCode); @@ -142,14 +142,15 @@ private function buildWrapperConfig( $rectorConfig->cacheDirectory(%s); $rectorConfig->containerCacheDirectory(%s); }; - PHP, + PHP + , var_export($this->configPath, true), $this->timeoutSeconds, $this->detectCoreCount(), $jobSize, var_export($cacheDirectory, true), var_export($containerCacheDirectory, true) - ); + ); } /** @@ -253,7 +254,7 @@ private function printMarkdownTable(array $rows): void $workerDivider = $this->countProcesses ? ' --: |' : ''; echo "\n| `jobSize` | wall | vs fastest |" . $workerColumn . " exit | analysed | of which changed |\n"; - echo "| --: | --: | --: |" . $workerDivider . " --: | --: | --: |\n"; + echo '| --: | --: | --: |' . $workerDivider . " --: | --: | --: |\n"; foreach ($rows as $row) { printf(