| @@ -56,7 +56,7 @@ | ||
| 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. | 
| @@ -328,7 +328,7 @@ | ||
| 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"; | 
| @@ -180,8 +180,7 @@ | ||
| 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()]) | 
| @@ -523,7 +523,7 @@ | ||
| 523 | 523 | </body> | 
| 524 | 524 | </file> | 
| 525 | 525 | </xliff> | 
| 526 | -EOD; | |
| 526 | +eod; | |
| 527 | 527 | return $xml; | 
| 528 | 528 | } | 
| 529 | 529 | } | 
| @@ -418,7 +418,7 @@ | ||
| 418 | 418 | 'trans-unit' => array( | 
| 419 | 419 | ) | 
| 420 | 420 | ); | 
| 421 | -EOD; | |
| 421 | +eod; | |
| 422 | 422 | return $php; | 
| 423 | 423 | } | 
| 424 | 424 | } | 
| @@ -318,7 +318,7 @@ discard block | ||
| 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 | ||
| 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 | } | 
| @@ -319,7 +319,7 @@ | ||
| 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) { | 
| @@ -233,7 +233,7 @@ | ||
| 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(); | 
| @@ -140,7 +140,7 @@ | ||
| 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; | 
| @@ -83,7 +83,7 @@ discard block | ||
| 83 | 83 | <th> </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 | ||
| 95 | 95 | <th style="width: 15px"> </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 | ||
| 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 | ||
| 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 | } |