Completed
Push — master ( 9abbfe...8dac88 )
by Phil
11s
created
Command/StartWorkerCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 
133 133
         // if foreground, we redirect output
134 134
         if ($input->getOption('foreground')) {
135
-            $process->run(function ($type, $buffer) use ($output) {
135
+            $process->run(function($type, $buffer) use ($output) {
136 136
                 $output->write($buffer);
137 137
             });
138 138
         } // else we recompose and display the worker id
Please login to merge, or discard this patch.
Command/StartScheduledWorkerCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
         $output->writeln(\sprintf('Starting worker <info>%s</info>', $process->getCommandLine()));
107 107
 
108 108
         if ($input->getOption('foreground')) {
109
-            $process->run(function ($type, $buffer) use ($output) {
109
+            $process->run(function($type, $buffer) use ($output) {
110 110
                 $output->write($buffer);
111 111
             });
112 112
         } // else we recompose and display the worker id
Please login to merge, or discard this patch.
Resque.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
      */
252 252
     public function getRunningWorkers()
253 253
     {
254
-        return array_filter($this->getWorkers(), function (Worker $worker) {
254
+        return array_filter($this->getWorkers(), function(Worker $worker) {
255 255
             return $worker->getCurrentJob() !== null;
256 256
         });
257 257
     }
Please login to merge, or discard this patch.
Controller/DefaultController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     }
169 169
 
170 170
     /**
171
-     * @return RedirectResponse
171
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
172 172
      */
173 173
     public function retryFailedAction()
174 174
     {
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     }
181 181
 
182 182
     /**
183
-     * @return RedirectResponse
183
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
184 184
      */
185 185
     public function retryClearFailedAction()
186 186
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-     * @return RedirectResponse
195
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
196 196
      */
197 197
     public function clearFailedAction()
198 198
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     {
175 175
         $count = $this->getResque()->retryFailedJobs();
176 176
 
177
-        $this->addFlash('info', 'Retry '.$count.' failed jobs.');
177
+        $this->addFlash('info', 'Retry ' . $count . ' failed jobs.');
178 178
 
179 179
         return $this->redirectToRoute('ResqueBundle_homepage');
180 180
     }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     {
187 187
         $count = $this->getResque()->retryFailedJobs(true);
188 188
 
189
-        $this->addFlash('info', 'Retry and clear '.$count.' failed jobs.');
189
+        $this->addFlash('info', 'Retry and clear ' . $count . ' failed jobs.');
190 190
 
191 191
         return $this->redirectToRoute('ResqueBundle_homepage');
192 192
     }
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     {
199 199
         $count = $this->getResque()->clearFailedJobs();
200 200
 
201
-        $this->addFlash('info', 'Clear '.$count.' failed jobs.');
201
+        $this->addFlash('info', 'Clear ' . $count . ' failed jobs.');
202 202
 
203 203
         return $this->redirectToRoute('ResqueBundle_homepage');
204 204
     }
Please login to merge, or discard this patch.