Passed
Push — toutputcache ( 5d3bd9 )
by Fabio
10:21
created
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/Data/ActiveRecord/TActiveRecordInvalidFinderResult.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
  */
30 30
 class TActiveRecordInvalidFinderResult extends \Prado\TEnumerable
31 31
 {
32
-	const Null = 'Null';
32
+	const null = 'Null';
33 33
 	const Exception = 'Exception';
34 34
 }
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/Wsat/TWsatScaffoldingGenerator.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
        $pageContent
82 82
 
83 83
 </com:TContent>
84
-EOD;
84
+eod;
85 85
 	}
86 86
 
87 87
 	private function getPageContent($tableName, $type)
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 {
151 151
 
152 152
 }
153
-EOD;
153
+eod;
154 154
 	}
155 155
 
156 156
 	// </editor-fold>
Please login to merge, or discard this patch.
framework/Wsat/TWsatARGenerator.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
 
232 232
 $toString
233 233
 }
234
-EOD;
234
+eod;
235 235
 	}
236 236
 
237 237
 	// </editor-fold>
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.
framework/TApplication.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -377,7 +377,7 @@
 block discarded – undo
377 377
 					break;
378 378
 				}
379 379
 				$method = self::$_steps[$this->_step];
380
-				Prado::trace("Executing $method()", 'Prado\TApplication');
380
+				Prado::trace("executing $method()", 'Prado\TApplication');
381 381
 				$this->$method();
382 382
 				$this->_step++;
383 383
 			}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1235,7 +1235,7 @@
 block discarded – undo
1235 1235
 	public function onEndRequest()
1236 1236
 	{
1237 1237
 		$this->flushOutput(false); // flush all remaining content in the buffer
1238
-		$this->saveGlobals();  // save global state
1238
+		$this->saveGlobals(); // save global state
1239 1239
 		$this->raiseEvent('OnEndRequest', $this, null);
1240 1240
 	}
1241 1241
 }
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TMappedStatement.php 1 patch
Spacing   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -236,8 +236,7 @@  discard block
 block discarded – undo
236 236
 	public function runQueryForList($connection, $parameter, $sql, $result, $delegate = null)
237 237
 	{
238 238
 		$registry = $this->getManager()->getTypeHandlers();
239
-		$list = $result instanceof \ArrayAccess ? $result :
240
-							$this->_statement->createInstanceOfListClass($registry);
239
+		$list = $result instanceof \ArrayAccess ? $result : $this->_statement->createInstanceOfListClass($registry);
241 240
 		$connection->setActive(true);
242 241
 		$reader = $sql->query();
243 242
 		//$reader = $this->executeSQLQueryLimit($connection, $sql, $max, $skip);
@@ -313,8 +312,7 @@  discard block
 block discarded – undo
313 312
 			foreach ($reader as $row) {
314 313
 				$obj = $this->applyResultMap($row);
315 314
 				$key = TPropertyAccess::get($obj, $keyProperty);
316
-				$value = ($valueProperty === null) ? $obj :
317
-							TPropertyAccess::get($obj, $valueProperty);
315
+				$value = ($valueProperty === null) ? $obj : TPropertyAccess::get($obj, $valueProperty);
318 316
 				$param = new TResultSetMapItemParameter($key, $value, $parameter, $map);
319 317
 				$this->raiseRowDelegate($delegate, $param);
320 318
 			}
@@ -323,8 +321,7 @@  discard block
 block discarded – undo
323 321
 			foreach ($reader as $row) {
324 322
 				$obj = $this->applyResultMap($row);
325 323
 				$key = TPropertyAccess::get($obj, $keyProperty);
326
-				$map[$key] = ($valueProperty === null) ? $obj :
327
-								TPropertyAccess::get($obj, $valueProperty);
324
+				$map[$key] = ($valueProperty === null) ? $obj : TPropertyAccess::get($obj, $valueProperty);
328 325
 			}
329 326
 		}
330 327
 		$this->onExecuteQuery($command);
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TFileUpload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@
 block discarded – undo
295 295
 	 */
296 296
 	public function getValidationPropertyValue()
297 297
 	{
298
-		return implode(',', array_map(function ($file) {
298
+		return implode(',', array_map(function($file) {
299 299
 			return $file->getFileName();
300 300
 		}, $this->_files));
301 301
 	}
Please login to merge, or discard this patch.