Completed
Push — master ( 6c3722...239355 )
by Matthew
19:49 queued 17:50
created
Model/WorkerManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         $this->eventDispatcher->dispatch(Event::PRE_JOB, $event);
93 93
 
94 94
         $start = microtime(true);
95
-        $handleException = function ($exception) use ($job) {
95
+        $handleException = function($exception) use ($job) {
96 96
             /** @var \Exception $exception */
97 97
             $exceptionMessage = get_class($exception)."\n".$exception->getCode().' - '.$exception->getMessage()."\n".$exception->getTraceAsString();
98 98
             $this->log('debug', "Failed: {$job->getClassName()}->{$job->getMethod()}");
Please login to merge, or discard this patch.
Tests/StaticJobManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             $total += count($this->jobs[$jobWorkerName]);
34 34
         }
35 35
 
36
-        return array_sum(array_map(function ($jobs) { return count($jobs); }, $this->jobs));
36
+        return array_sum(array_map(function($jobs) { return count($jobs); }, $this->jobs));
37 37
     }
38 38
 
39 39
     public function getStatus()
Please login to merge, or discard this patch.
Model/RetryableJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     }
87 87
 
88 88
     /**
89
-     * @param int $erroredCount
89
+     * @param integer $errorCount
90 90
      *
91 91
      * @return RetryableJob
92 92
      */
Please login to merge, or discard this patch.
ORM/JobManager.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -117,6 +117,10 @@
 block discarded – undo
117 117
         }
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $workerName
122
+     * @param string $method
123
+     */
120 124
     protected function addWorkerNameCriterion(QueryBuilder $queryBuilder, $workerName = null, $method = null)
121 125
     {
122 126
         if (null !== $workerName) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,8 +227,7 @@
 block discarded – undo
227 227
             foreach ($item as $status => $count) {
228 228
                 if (isset($finalResult[$key][$status])) {
229 229
                     $finalResult[$key][$status] += $count;
230
-                }
231
-                else {
230
+                } else {
232 231
                     $finalResult[$key][$status] = $count;
233 232
                 }
234 233
             }
Please login to merge, or discard this patch.