@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | |
275 | 275 | $commit = $project->commit($commitRef); |
276 | 276 | |
277 | - return $commit->committer ? $commit->committer->id : null; |
|
277 | + return $commit->committer ? $commit->committer->id : null; |
|
278 | 278 | } |
279 | 279 | |
280 | 280 | /** |
@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | |
294 | 294 | $buildService->dumpArtifactFromBranch($projectName, $targetBranch, $buildName, $jobStage, $tmpFile, $excludePipelineId); |
295 | 295 | $zipFile = new \ZipArchive(); |
296 | - if ($zipFile->open($tmpFile)!==true) { |
|
296 | + if ($zipFile->open($tmpFile) !== true) { |
|
297 | 297 | throw new \RuntimeException('Invalid ZIP archive '.$tmpFile); |
298 | 298 | } |
299 | 299 | return $this->getMeasuresFromZipFile($zipFile, $cloverPath, $crap4JPath); |