Completed
Push — 2.0 ( 2e3df6...e1b89c )
by David
12s
created
src/Gitlab/BuildService.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         if (!isset($this->pipelines[$projectName])) {
81 81
             $pager = new ResultPager($this->client);
82 82
             $this->pipelines[$projectName] = $pager->fetchAll($this->client->api('projects'), 'pipelines',
83
-                [ $projectName ]
83
+                [$projectName]
84 84
             );
85 85
         }
86 86
         return $this->pipelines[$projectName];
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
         if ($job === null) {
193 193
             throw new BuildNotFoundException('Could not find finished job with build name "'.$buildName.'", stage "'.$jobStage.'" and artifacts file in pipeline "'.$pipelineId.'"');
194 194
         }
195
-        $this->logger->debug('Found job '. $job['id'] . ' for pipeline ' . $pipelineId);
195
+        $this->logger->debug('Found job '.$job['id'].' for pipeline '.$pipelineId);
196 196
 
197 197
         $artifactContent = $this->client->jobs->artifacts($projectName, $job['id']);
198 198
 
Please login to merge, or discard this patch.