Passed
Push — master ( 883d7f...cc20de )
by Fabio
05:10
created
framework/Util/TFirebugLogRoute.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
 	console.log ("[Tot Time] [Time    ] [Level] [Category] [Message]");
85 85
 
86
-EOD;
86
+eod;
87 87
 		}
88 88
 		return '';
89 89
 	}
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 }
123 123
 </script>
124 124
 
125
-EOD;
125
+eod;
126 126
 
127 127
 		return $string;
128 128
 	}
Please login to merge, or discard this patch.
framework/Web/UI/TClientScriptManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 	 */
258 258
 	public function getScriptUrls()
259 259
 	{
260
-		$scripts = array_values(array_map(function ($v) {
260
+		$scripts = array_values(array_map(function($v) {
261 261
 			return $v->getUrl();
262 262
 		}, $this->_headScriptFiles));
263 263
 		$scripts = array_merge($scripts, array_values($this->_scriptFiles));
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
 	public function getStyleSheetUrls()
551 551
 	{
552 552
 		$stylesheets = array_values(
553
-			array_map(function ($e) {
553
+			array_map(function($e) {
554 554
 				return is_array($e) ? $e[0] : $e;
555 555
 			}, $this->_styleSheetFiles)
556 556
 		);
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
@@ -28,6 +28,6 @@
 block discarded – undo
28 28
  */
29 29
 class TActiveRecordInvalidFinderResult extends \Prado\TEnumerable
30 30
 {
31
-	public const Null = 'Null';
31
+	public const null = 'Null';
32 32
 	public const Exception = 'Exception';
33 33
 }
Please login to merge, or discard this patch.
framework/Web/UI/TControl.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -113,17 +113,17 @@  discard block
 block discarded – undo
113 113
 	 * Indexes for the rare fields.
114 114
 	 * In order to save memory, rare fields will only be created if they are needed.
115 115
 	 */
116
-	public const RF_CONTROLS = 0;			// child controls
117
-	public const RF_CHILD_STATE = 1;			// child state field
118
-	public const RF_NAMED_CONTROLS = 2;		// list of controls whose namingcontainer is this control
119
-	public const RF_NAMED_CONTROLS_ID = 3;	// counter for automatic id
120
-	public const RF_SKIN_ID = 4;				// skin ID
121
-	public const RF_DATA_BINDINGS = 5;		// data bindings
122
-	public const RF_EVENTS = 6;				// event handlers
123
-	public const RF_CONTROLSTATE = 7;		// controlstate
124
-	public const RF_NAMED_OBJECTS = 8;		// controls declared with ID on template
125
-	public const RF_ADAPTER = 9;				// adapter
126
-	public const RF_AUTO_BINDINGS = 10;		// auto data bindings
116
+	public const RF_CONTROLS = 0; // child controls
117
+	public const RF_CHILD_STATE = 1; // child state field
118
+	public const RF_NAMED_CONTROLS = 2; // list of controls whose namingcontainer is this control
119
+	public const RF_NAMED_CONTROLS_ID = 3; // counter for automatic id
120
+	public const RF_SKIN_ID = 4; // skin ID
121
+	public const RF_DATA_BINDINGS = 5; // data bindings
122
+	public const RF_EVENTS = 6; // event handlers
123
+	public const RF_CONTROLSTATE = 7; // controlstate
124
+	public const RF_NAMED_OBJECTS = 8; // controls declared with ID on template
125
+	public const RF_ADAPTER = 9; // adapter
126
+	public const RF_AUTO_BINDINGS = 10; // auto data bindings
127 127
 
128 128
 	/**
129 129
 	 * @var string control ID
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
 	public function getUniqueID()
414 414
 	{
415 415
 		if ($this->_uid === '' || $this->_uid === null) {	// need to build the UniqueID
416
-			$this->_uid = '';  // set to not-null, so that clearCachedUniqueID() may take action
416
+			$this->_uid = ''; // set to not-null, so that clearCachedUniqueID() may take action
417 417
 			if ($namingContainer = $this->getNamingContainer()) {
418 418
 				if ($this->getPage() === $namingContainer) {
419 419
 					return ($this->_uid = $this->_id);
Please login to merge, or discard this patch.
framework/Util/Behaviors/TParameterizeBehavior.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
 		if ($this->_routeBehaviorName) {
111 111
 			if ($this->_localize) {
112 112
 				$_property = $this->_property;
113
-				$this->_paramBehavior = new TMapRouteBehavior($this->_parameter, function ($v) use ($owner, $_property) {
113
+				$this->_paramBehavior = new TMapRouteBehavior($this->_parameter, function($v) use ($owner, $_property) {
114 114
 					$owner->$_property = Prado::localize($v);
115 115
 				});
116 116
 			} else {
Please login to merge, or discard this patch.
framework/Shell/TShellAppAction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,6 +53,6 @@
 block discarded – undo
53 53
  app <directory> {$this->action} {$parameters}{$optional}
54 54
 {$description}
55 55
 
56
-EOD;
56
+eod;
57 57
 	}
58 58
 }
Please login to merge, or discard this patch.
framework/Shell/Actions/TActiveRecordGenAction.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 	 * @soapproperty
158 158
 	 */
159 159
 
160
-EOD;
160
+eod;
161 161
 		}
162 162
 		$prop .= "\tpublic $name;";
163 163
 		return $prop;
@@ -190,6 +190,6 @@  discard block
 block discarded – undo
190 190
 	}
191 191
 }
192 192
 
193
-EOD;
193
+eod;
194 194
 	}
195 195
 }
Please login to merge, or discard this patch.
framework/Shell/TShellAction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
   {$this->action} {$parameters}{$optional}
96 96
 {$description}
97 97
 
98
-EOD;
98
+eod;
99 99
 	}
100 100
 
101 101
 	/**
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
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 		
170 170
 		$where = ($this->_autoLoadField ? " WHERE {$this->_autoLoadField}={$this->_autoLoadValue}" : '');
171 171
 		$cmd = $db->createCommand(
172
-			"SELECT {$this->_keyField} as keyField, {$this->_valueField}  as valueField FROM {$this->_tableName}{$where}"
172
+			"select {$this->_keyField} as keyField, {$this->_valueField}  as valueField FROM {$this->_tableName}{$where}"
173 173
 		);
174 174
 		$results = $cmd->query();
175 175
 		
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 		}
290 290
 		$db = $this->getDbConnection();
291 291
 		$cmd = $db->createCommand(
292
-			"SELECT {$this->_valueField} as valueField FROM {$this->_tableName} WHERE {$this->_keyField}=:key LIMIT 1"
292
+			"select {$this->_valueField} as valueField FROM {$this->_tableName} WHERE {$this->_keyField}=:key LIMIT 1"
293 293
 		);
294 294
 		$cmd->bindParameter(":key", $key, PDO::PARAM_STR);
295 295
 		$results = $cmd->queryRow();
Please login to merge, or discard this patch.