Passed
Push — selenium ( a8a65f )
by Fabio
09:45
created
framework/Data/ActiveRecord/TActiveRecordManager.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 	 * @var TActiveRecordInvalidFinderResult
57 57
 	 * @since 3.1.5
58 58
 	 */
59
-	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null;
59
+	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null;
60 60
 
61 61
 	/**
62 62
 	 * @return ICache application cache.
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TReCaptcha.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
 	{
329 329
 		$req = $this->recaptcha_qsencode($data);
330 330
 
331
-		$http_request = "POST $path HTTP/1.0\r\n";
331
+		$http_request = "post $path HTTP/1.0\r\n";
332 332
 		$http_request .= "Host: $host\r\n";
333 333
 		$http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n";
334 334
 		$http_request .= "Content-Length: " . strlen($req) . "\r\n";
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,8 +180,7 @@
 block discarded – undo
180 180
 
181 181
 	public function validate()
182 182
 	{
183
-		if (!
184
-			  (
183
+		if (!(
185 184
 			  	($challenge = @$_POST[$this->getChallengeFieldName()])
186 185
 			and
187 186
 			($response = @$_POST[$this->getResponseFieldName()])
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_XLIFF.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
   </body>
524 524
  </file>
525 525
 </xliff>
526
-EOD;
526
+eod;
527 527
 		return $xml;
528 528
 	}
529 529
 }
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_PHP.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@
 block discarded – undo
418 418
 	'trans-unit' => array(
419 419
 	)
420 420
 );
421
-EOD;
421
+eod;
422 422
 		return $php;
423 423
 	}
424 424
 }
Please login to merge, or discard this patch.
framework/Data/Common/TDbCommandBuilder.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
 	{
319 319
 		$table = $this->getTableInfo()->getTableFullName();
320 320
 		$fields = implode(', ', $this -> getSelectFieldList($select));
321
-		$sql = "SELECT {$fields} FROM {$table}";
321
+		$sql = "select {$fields} FROM {$table}";
322 322
 		if (!empty($where)) {
323 323
 			$sql .= " WHERE {$where}";
324 324
 		}
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
 		if (!empty($where)) {
406 406
 			$where = ' WHERE ' . $where;
407 407
 		}
408
-		$command = $this->createCommand("UPDATE {$table} SET {$fields}" . $where);
408
+		$command = $this->createCommand("update {$table} SET {$fields}" . $where);
409 409
 		$this->bindArrayValues($command, array_merge($data, $parameters));
410 410
 		return $command;
411 411
 	}
Please login to merge, or discard this patch.
framework/Data/Common/Mysql/TMysqlMetaData.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
 				REFERENCED_TABLE_NAME IS NOT NULL
320 320
 				AND TABLE_NAME LIKE :table
321 321
 				$andSchema
322
-EOD;
322
+eod;
323 323
 		$command = $this->getDbConnection()->createCommand($sql);
324 324
 		$command->bindValue(':table', $tableName);
325 325
 		if ($schemaName !== null) {
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Relations/TActiveRecordHasManyAssociation.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
 		if (($where = $criteria->getCondition()) === null) {
234 234
 			$where = '1=1';
235 235
 		}
236
-		$sql = "SELECT {$fkTable}.*, {$srcColumns} FROM {$fkTable} {$innerJoin} WHERE {$where}";
236
+		$sql = "select {$fkTable}.*, {$srcColumns} FROM {$fkTable} {$innerJoin} WHERE {$where}";
237 237
 
238 238
 		$parameters = $criteria->getParameters()->toArray();
239 239
 		$ordering = $criteria->getOrdersBy();
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 		}
141 141
 
142 142
 		if (is_file($filename) == false) {
143
-			throw new Exception("File $filename not found");
143
+			throw new Exception("file $filename not found");
144 144
 		}
145 145
 
146 146
 		include_once $filename;
Please login to merge, or discard this patch.
framework/Util/TBrowserLogRoute.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 	    <th>&nbsp;</th>
84 84
 		<th>Category</th><th>Message</th><th>Time Spent (s)</th><th>Cumulated Time Spent (s)</th>
85 85
 	</tr>
86
-EOD;
86
+eod;
87 87
 		} else {
88 88
 			$string = <<<EOD
89 89
 <table cellspacing="0" cellpadding="2" border="0" width="100%" style="table-layout:auto">
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 	    <th style="width: 15px">&nbsp;</th>
96 96
 		<th style="width: auto">Category</th><th style="width: auto">Message</th><th style="width: 120px">Time Spent (s)</th><th style="width: 150px">Cumulated Time Spent (s)</th>
97 97
 	</tr>
98
-EOD;
98
+eod;
99 99
 		}
100 100
 		return $string;
101 101
 	}
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 		<td class="time">{$delta}</td>
119 119
 		<td class="cumulatedtime">{$total}</td>
120 120
 	</tr>
121
-EOD;
121
+eod;
122 122
 		} else {
123 123
 			$bgcolor = $info['even'] ? "#fff" : "#eee";
124 124
 			$color = $this->getColorLevel($log[1]);
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 		<td style="text-align:center">{$delta}</td>
131 131
 		<td style="text-align:center">{$total}</td>
132 132
 	</tr>
133
-EOD;
133
+eod;
134 134
 		}
135 135
 		return $string;
136 136
 	}
Please login to merge, or discard this patch.