Completed
Push — 2.0 ( 70b5fd...92ff60 )
by David
01:49
created
src/Commands/RunCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
 
244 244
         $commit = $project->commit($commitRef);
245 245
 
246
-        return $commit->committer ? $commit->committer->id :  null;
246
+        return $commit->committer ? $commit->committer->id : null;
247 247
     }
248 248
 
249 249
     /**
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 
262 262
             $buildService->dumpArtifactFromBranch($projectName, $targetBranch, $jobStage, $tmpFile);
263 263
             $zipFile = new \ZipArchive();
264
-            if ($zipFile->open($tmpFile)!==true) {
264
+            if ($zipFile->open($tmpFile) !== true) {
265 265
                 throw new \RuntimeException('Invalid ZIP archive '.$tmpFile);
266 266
             }
267 267
             return $this->getMeasuresFromZipFile($zipFile, $cloverPath, $crap4JPath);
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
             $build = $buildService->getLatestPipelineFromCommitId($projectName, $commitId);
286 286
             $buildService->dumpArtifact($projectName, $build['id'], $jobStage, $tmpFile);
287 287
             $zipFile = new \ZipArchive();
288
-            if ($zipFile->open($tmpFile)!==true) {
288
+            if ($zipFile->open($tmpFile) !== true) {
289 289
                 throw new \RuntimeException('Invalid ZIP archive '.$tmpFile);
290 290
             }
291 291
             return $this->getMeasuresFromZipFile($zipFile, $cloverPath, $crap4JPath);
Please login to merge, or discard this patch.