@@ -183,7 +183,7 @@ |
||
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 | } |
@@ -80,7 +80,7 @@ discard block |
||
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 |
||
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 |