Passed
Push — dependabot/composer/latte/latt... ( 8fca39 )
by
unknown
09:20
created
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.
framework/Util/TDbParameterModule.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 		
199 199
 		$where = ($this->_autoLoadField ? " WHERE {$this->_autoLoadField}={$this->_autoLoadValue}" : '');
200 200
 		$cmd = $db->createCommand(
201
-			"SELECT {$this->_keyField} as keyField, {$this->_valueField}  as valueField FROM {$this->_tableName}{$where}"
201
+			"select {$this->_keyField} as keyField, {$this->_valueField}  as valueField FROM {$this->_tableName}{$where}"
202 202
 		);
203 203
 		$results = $cmd->query();
204 204
 		
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
 		
346 346
 		$db = $this->getDbConnection();
347 347
 		$cmd = $db->createCommand(
348
-			"SELECT {$this->_valueField} as valueField FROM {$this->_tableName} WHERE {$this->_keyField}=:key LIMIT 1"
348
+			"select {$this->_valueField} as valueField FROM {$this->_tableName} WHERE {$this->_keyField}=:key LIMIT 1"
349 349
 		);
350 350
 		$cmd->bindParameter(":key", $key, PDO::PARAM_STR);
351 351
 		$results = $cmd->queryRow();
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
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 				}
66 66
 			}
67 67
 			if (!$this->_cron) {
68
-				$this->_outWriter->writeError("A {$moduleClass} is not found");
68
+				$this->_outWriter->writeError("a {$moduleClass} is not found");
69 69
 				return null;
70 70
 			}
71 71
 		}
Please login to merge, or discard this patch.