Passed
Push — master ( f4b60f...a7ff9b )
by Brice
05:36
created
src/Infrastructure/RedisQueue.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,9 @@
 block discarded – undo
167 167
             $aValue = $a[$orderBy];
168 168
             $bValue = $b[$orderBy];
169 169
 
170
-            if ($aValue === $bValue) return 0;
170
+            if ($aValue === $bValue) {
171
+                return 0;
172
+            }
171 173
 
172 174
             return $aValue < $bValue ? -1 : 1;
173 175
         });
Please login to merge, or discard this patch.
src/Application/Console/ListTasks.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,9 @@
 block discarded – undo
145 145
             // When no specific status is required in the command line,
146 146
             // then do not display `finished` tasks (this is arbitrary)
147 147
             if (is_null($this->status)) {
148
-                if (Status::FINISHED === $status) continue;
148
+                if (Status::FINISHED === $status) {
149
+                    continue;
150
+                }
149 151
             }
150 152
 
151 153
             $profile = (string) $task->getProfile();
Please login to merge, or discard this patch.