Test Setup Failed
Push — master ( 7cf6c7...109933 )
by Matthew
02:28
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.
Command/RunCommand.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -256,8 +256,9 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * Sets up the runManager (document / entity persister) if appropriate.
258 258
      *
259
-     * @param $maxCount
260
-     * @param $duration
259
+     * @param integer $maxCount
260
+     * @param integer $duration
261
+     * @param double $start
261 262
      */
262 263
     protected function runStart($start, $maxCount = null, $duration = null)
263 264
     {
@@ -290,6 +291,9 @@  discard block
 block discarded – undo
290 291
         }
291 292
     }
292 293
 
294
+    /**
295
+     * @param double $start
296
+     */
293 297
     protected function runStop($start)
294 298
     {
295 299
         $end = microtime(true);
Please login to merge, or discard this patch.