Test Setup Failed
Pull Request — master (#26)
by Andreas
05:14
created
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.
DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $rootNode
90 90
             ->prototype('variable')->end()
91 91
             ->validate()
92
-                ->ifTrue(function ($node) {
92
+                ->ifTrue(function($node) {
93 93
                     if (!is_array($node)) {
94 94
                         return true;
95 95
                     }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             ->append($this->addRabbitMqSslOptions())
167 167
             ->append($this->addRabbitMqArgs())
168 168
             ->append($this->addRabbitMqExchange())
169
-            ->validate()->always(function ($node) {
169
+            ->validate()->always(function($node) {
170 170
                 if (empty($node['ssl_options'])) {
171 171
                     unset($node['ssl_options']);
172 172
                 }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 
177 177
                 return $node;
178 178
             })->end()
179
-            ->validate()->ifTrue(function ($node) {
179
+            ->validate()->ifTrue(function($node) {
180 180
                 if (isset($node['ssl_options']) && !$node['ssl']) {
181 181
                     return true;
182 182
                 }
Please login to merge, or discard this patch.
ORM/LiveJobGridSource.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $queryBuilder = $this->jobManager->getJobQueryBuilder();
38 38
         $queryBuilder->add('select', 'j');
39 39
         $queryBuilder->setFirstResult($this->offset)
40
-                     ->setMaxResults($this->limit);
40
+                        ->setMaxResults($this->limit);
41 41
 
42 42
         return $queryBuilder;
43 43
     }
Please login to merge, or discard this patch.
Controller/QueueController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
         } else {
219 219
             $timings = $this->getJobTimingsOrm($type, $endDate, $beginDate);
220 220
         }
221
-        uksort($timings, function ($date1str, $date2str) {
221
+        uksort($timings, function($date1str, $date2str) {
222 222
             $date1 = \DateTime::createFromFormat('Y-m-d H', $date1str);
223 223
             $date2 = \DateTime::createFromFormat('Y-m-d H', $date2str);
224 224
             if (!$date2) {
Please login to merge, or discard this patch.