Completed
Pull Request — master (#17)
by
unknown
02:08
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.
Controller/DefaultController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     {
150 150
         $count = $this->getResque()->retryFailedJobs();
151 151
 
152
-        $this->addFlash('info', 'Retry '.$count.' failed jobs.');
152
+        $this->addFlash('info', 'Retry ' . $count . ' failed jobs.');
153 153
 
154 154
         return $this->redirectToRoute('ResqueBundle_homepage');
155 155
     }
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     {
162 162
         $count = $this->getResque()->clearFailedJobs();
163 163
 
164
-        $this->addFlash('info', 'Clear '.$count.' failed jobs.');
164
+        $this->addFlash('info', 'Clear ' . $count . ' failed jobs.');
165 165
 
166 166
         return $this->redirectToRoute('ResqueBundle_homepage');
167 167
     }
Please login to merge, or discard this patch.