Passed
Push — fix_gh_cs ( f6dd7f )
by Fabio
10:25
created
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.
framework/Util/Cron/TDbCronCleanLogTask.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 			$count = $cron->clearCronLog($this->getTimePeriod());
50 50
 			
51 51
 			if ($cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) {
52
-				$cron->getOutputWriter()->writeLine("Cleared {$count} Cron Task Logs", TShellWriter::GREEN);
52
+				$cron->getOutputWriter()->writeLine("cleared {$count} Cron Task Logs", TShellWriter::GREEN);
53 53
 			}
54 54
 		} elseif (is_object($cron) && $cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) {
55 55
 			/** @var TCronModule $cron */
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecordConfig.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 	 * @var string|TActiveRecordInvalidFinderResult
101 101
 	 * @since 3.1.5
102 102
 	 */
103
-	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null;
103
+	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null;
104 104
 
105 105
 	/**
106 106
 	 * Initialize the active record manager.
Please login to merge, or discard this patch.