@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | |
265 | 265 | $commit = $project->commit($commitRef); |
266 | 266 | |
267 | - return $commit->committer ? $commit->committer->id : null; |
|
267 | + return $commit->committer ? $commit->committer->id : null; |
|
268 | 268 | } |
269 | 269 | |
270 | 270 | /** |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | |
283 | 283 | $buildService->dumpArtifactFromBranch($projectName, $targetBranch, $buildName, $jobStage, $tmpFile); |
284 | 284 | $zipFile = new \ZipArchive(); |
285 | - if ($zipFile->open($tmpFile)!==true) { |
|
285 | + if ($zipFile->open($tmpFile) !== true) { |
|
286 | 286 | throw new \RuntimeException('Invalid ZIP archive '.$tmpFile); |
287 | 287 | } |
288 | 288 | return $this->getMeasuresFromZipFile($zipFile, $cloverPath, $crap4JPath); |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | var_dump($jobStage); |
310 | 310 | $buildService->dumpArtifact($projectName, $pipeline['id'], $buildName, $jobStage, $tmpFile); |
311 | 311 | $zipFile = new \ZipArchive(); |
312 | - if ($zipFile->open($tmpFile)!==true) { |
|
312 | + if ($zipFile->open($tmpFile) !== true) { |
|
313 | 313 | throw new \RuntimeException('Invalid ZIP archive '.$tmpFile); |
314 | 314 | } |
315 | 315 | return $this->getMeasuresFromZipFile($zipFile, $cloverPath, $crap4JPath); |