Passed
Push — master ( 5fd064...896ccb )
by Fabio
04:59
created
framework/Util/Cron/TDbCronModule.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 		$task->setProcessCount($count = ($task->getProcessCount() + 1));
338 338
 		
339 339
 		$cmd = $this->getDbConnection()->createCommand(
340
-			"UPDATE {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
340
+			"update {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
341 341
 		);
342 342
 		$cmd->bindValue(":count", $count, PDO::PARAM_STR);
343 343
 		$cmd->bindValue(":time", $time, PDO::PARAM_STR);
@@ -603,7 +603,7 @@  discard block
 block discarded – undo
603 603
 		}
604 604
 		
605 605
 		$cmd = $this->getDbConnection()->createCommand(
606
-			"UPDATE {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
606
+			"update {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
607 607
 		);
608 608
 		$cmd->bindValue(":schedule", $schedule = $task->getSchedule(), PDO::PARAM_STR);
609 609
 		$cmd->bindValue(":task", $taskExec = $task->getTask(), PDO::PARAM_STR);
Please login to merge, or discard this patch.
framework/Util/Cron/TShellCronAction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 			}
63 63
 		}
64 64
 		if (!$module) {
65
-			$this->_outWriter->writeError("A {$moduleClass} is not found");
65
+			$this->_outWriter->writeError("a {$moduleClass} is not found");
66 66
 			return null;
67 67
 		}
68 68
 		if (!$module->asa(TCronModule::SHELL_LOG_BEHAVIOR)) {
Please login to merge, or discard this patch.
framework/Shell/Actions/TActiveRecordAction.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 		$config = $this->getActiveRecordConfig();
139 139
 		$output = $this->getOutputFile($args[2]);
140 140
 		if (is_file($output) && !$this->_overwrite) {
141
-			$this->_outWriter->writeError("File $output already exists, skipping. ");
141
+			$this->_outWriter->writeError("file $output already exists, skipping. ");
142 142
 		} elseif ($config !== false && $output !== false) {
143 143
 			$this->generateActiveRecord($config, $args[1], $output);
144 144
 		}
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
 	 * @soapproperty
229 229
 	 */
230 230
 
231
-EOD;
231
+eod;
232 232
 		}
233 233
 		$prop .= "\tpublic $name;";
234 234
 		return $prop;
@@ -261,6 +261,6 @@  discard block
 block discarded – undo
261 261
 	}
262 262
 }
263 263
 
264
-EOD;
264
+eod;
265 265
 	}
266 266
 }
Please login to merge, or discard this patch.
framework/Shell/TShellLoginBehavior.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 			}
111 111
 		}
112 112
 		$password = $this->_password;
113
-		$this->_password = '';	//Do not store the Password.
113
+		$this->_password = ''; //Do not store the Password.
114 114
 		if (!$this->getOwner()->login($this->_username, $password)) {
115 115
 			$writer->writeError("Could not Authenticate the user");
116 116
 			$writer->flush();
Please login to merge, or discard this patch.