@@ -60,7 +60,7 @@ |
||
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 |
@@ -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 | } |