Completed
Push — 2.0 ( ac1710...2e3df6 )
by David
10s
created
src/Commands/RunCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.