Skip to content

Commit 09b71bd

Browse files
authored
[automated] Apply Coding Standard (#8526)
Co-authored-by: TomasVotruba <924196+TomasVotruba@users.noreply.github.com>
1 parent c5254e7 commit 09b71bd

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎scripts/rector-jobsize-benchmark.php‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private function measure(int $jobSize, string $workingDirectory): array
9999
escapeshellarg($wrapperConfigPath)
100100
);
101101

102-
printf("jobSize %-6d running ... ", $jobSize);
102+
printf('jobSize %-6d running ... ', $jobSize);
103103

104104
$startedAt = hrtime(true);
105105
exec($command, $outputLines, $exitCode);
@@ -142,14 +142,15 @@ private function buildWrapperConfig(
142142
$rectorConfig->cacheDirectory(%s);
143143
$rectorConfig->containerCacheDirectory(%s);
144144
};
145-
PHP,
145+
PHP
146+
,
146147
var_export($this->configPath, true),
147148
$this->timeoutSeconds,
148149
$this->detectCoreCount(),
149150
$jobSize,
150151
var_export($cacheDirectory, true),
151152
var_export($containerCacheDirectory, true)
152-
);
153+
);
153154
}
154155

155156
/**
@@ -253,7 +254,7 @@ private function printMarkdownTable(array $rows): void
253254
$workerDivider = $this->countProcesses ? ' --: |' : '';
254255

255256
echo "\n| `jobSize` | wall | vs fastest |" . $workerColumn . " exit | analysed | of which changed |\n";
256-
echo "| --: | --: | --: |" . $workerDivider . " --: | --: | --: |\n";
257+
echo '| --: | --: | --: |' . $workerDivider . " --: | --: | --: |\n";
257258

258259
foreach ($rows as $row) {
259260
printf(

0 commit comments

Comments
 (0)