Test Failed
Pull Request — master (#53)
by
unknown
02:12
created
demo/job.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 {
4 4
 	public function perform()
5 5
 	{
6
-        fwrite(STDOUT, 'Start job! -> ');
6
+		fwrite(STDOUT, 'Start job! -> ');
7 7
 		sleep(1);
8 8
 		fwrite(STDOUT, 'Job ended!' . PHP_EOL);
9 9
 	}
Please login to merge, or discard this patch.
demo/queue.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 if (empty($argv[2])) {
21 21
 	$jobId = Resque::enqueue('default', $argv[1], $args, true);
22 22
 } else {
23
-        $jobId = Resque::enqueue($argv[1], $argv[2], $args, true);	
23
+		$jobId = Resque::enqueue($argv[1], $argv[2], $args, true);	
24 24
 }
25 25
 
26 26
 echo "Queued job ".$jobId."\n\n";
Please login to merge, or discard this patch.
lib/ResqueScheduler/Worker.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
 	private $paused = false;
37 37
 
38 38
 	/**
39
-	* The primary loop for a worker.
40
-	*
41
-	* Every $interval (seconds), the scheduled queue will be checked for jobs
42
-	* that should be pushed to Resque.
43
-	*
44
-	* @param int $interval How often to check schedules.
45
-	*/
39
+	 * The primary loop for a worker.
40
+	 *
41
+	 * Every $interval (seconds), the scheduled queue will be checked for jobs
42
+	 * that should be pushed to Resque.
43
+	 *
44
+	 * @param int $interval How often to check schedules.
45
+	 */
46 46
 	public function work($interval = null)
47 47
 	{
48 48
 		if ($interval !== null) {
Please login to merge, or discard this patch.
lib/Resque/Worker.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 	private static $processPrefix = 'resque';
19 19
 
20 20
 	/**
21
-	* @var Psr\Log\LoggerInterface Logging object that impliments the PSR-3 LoggerInterface
22
-	*/
21
+	 * @var Psr\Log\LoggerInterface Logging object that impliments the PSR-3 LoggerInterface
22
+	 */
23 23
 	public $logger;
24 24
 
25 25
 	/**
Please login to merge, or discard this patch.
lib/Resque/Job/Status.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -195,11 +195,11 @@
 block discarded – undo
195 195
 	}
196 196
 
197 197
 	/**
198
-	* Fetch a value from the status packet for the job being monitored.
199
-	*
200
-	* @return mixed False if the status is not being monitored, otherwise the
201
-	*  requested value from the status packet.
202
-	*/
198
+	 * Fetch a value from the status packet for the job being monitored.
199
+	 *
200
+	 * @return mixed False if the status is not being monitored, otherwise the
201
+	 *  requested value from the status packet.
202
+	 */
203 203
 	protected function fetch($value = null)
204 204
 	{
205 205
 		if (!$this->isTracking()) {
Please login to merge, or discard this patch.