Passed
Push — develop ( 25ff30...23fbc2 )
by Hennik
01:03 queued 10s
created
lib/ResqueScheduler.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -220,8 +220,7 @@  discard block
 block discarded – undo
220 220
 	{
221 221
 		if ($at === null) {
222 222
 			$at = time();
223
-		}
224
-		else {
223
+		} else {
225 224
 			$at = self::getTimestamp($at);
226 225
 		}
227 226
 	
@@ -261,8 +260,7 @@  discard block
 block discarded – undo
261 260
 	{
262 261
 		if (empty($class)) {
263 262
 			throw new Resque_Exception('Jobs must be given a class.');
264
-		}
265
-		else if (empty($queue)) {
263
+		} else if (empty($queue)) {
266 264
 			throw new Resque_Exception('Jobs must be put in a queue.');
267 265
 		}
268 266
 		
Please login to merge, or discard this patch.
lib/ResqueScheduler/Worker.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,8 +119,7 @@
 block discarded – undo
119 119
 	{
120 120
 		if($this->logLevel == self::LOG_NORMAL) {
121 121
 			fwrite(STDOUT, "*** " . $message . "\n");
122
-		}
123
-		else if($this->logLevel == self::LOG_VERBOSE) {
122
+		} else if($this->logLevel == self::LOG_VERBOSE) {
124 123
 			fwrite(STDOUT, "** [" . strftime('%T %Y-%m-%d') . "] " . $message . "\n");
125 124
 		}
126 125
 	}
Please login to merge, or discard this patch.