Completed
Pull Request — 2.0 (#26)
by
unknown
01:53
created
src/Clover/DiffService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         // Now, let's order the differences by crap order.
62 62
         usort($differences, function(Difference $d1, Difference $d2) {
63
-           return $d2->getCrapScore() <=> $d1->getCrapScore();
63
+            return $d2->getCrapScore() <=> $d1->getCrapScore();
64 64
         });
65 65
 
66 66
         // Now, let's limit the number of returned differences
Please login to merge, or discard this patch.
src/Gitlab/BuildService.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param string $commitId
83 83
      * @param string|null $excludePipelineId A pipeline ID we want to exclude (we don't want to get the current pipeline ID).
84 84
      * @param int $numIter
85
-     * @return array
85
+     * @return string
86 86
      * @throws BuildNotFoundException
87 87
      */
88 88
     public function getLatestPipelineFromCommitId(string $projectName, string $commitId, string $excludePipelineId = null, int $numIter = 0) : array
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * @param string $projectName
117 117
      * @param string $branchName
118 118
      * @param string $excludePipelineId A pipeline ID we want to exclude (we don't want to get the current pipeline ID).
119
-     * @return array
119
+     * @return string
120 120
      * @throws BuildNotFoundException
121 121
      */
122 122
     public function getLatestPipelineFromBranch(string $projectName, string $branchName, string $excludePipelineId) : array
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
                 $jobItem['stage'] === $jobStage &&
184 184
                 isset($jobItem['artifacts_file']) &&
185 185
                 (in_array($jobItem['status'], ['failed', 'success']))
186
-           ) {
186
+            ) {
187 187
                 $job = $jobItem;
188 188
                 break;
189 189
             }
Please login to merge, or discard this patch.