Skip to content
This repository
Browse code

more whitespace coding standards

  • Loading branch information...
commit b7e75a6399671b8fecade32da9bc53c207951fb1 1 parent 8f78b1e
Mark authored November 14, 2012
2  lib/Cake/Model/Behavior/TreeBehavior.php
@@ -618,7 +618,7 @@ public function recover(Model $Model, $mode = 'parent', $missingParentAction = n
618 618
 			if ($missingParents) {
619 619
 				if ($missingParentAction == 'return') {
620 620
 					foreach ($missingParents as $id => $display) {
621  
-						$this->errors[]	= 'cannot find the parent for ' . $Model->alias . ' with id ' . $id . '(' . $display . ')';
  621
+						$this->errors[] = 'cannot find the parent for ' . $Model->alias . ' with id ' . $id . '(' . $display . ')';
622 622
 					}
623 623
 					return false;
624 624
 				} elseif ($missingParentAction == 'delete') {
4  lib/Cake/Network/CakeResponse.php
@@ -277,8 +277,8 @@ class CakeResponse {
277 277
 		'javascript' => 'application/javascript',
278 278
 		'form' => 'application/x-www-form-urlencoded',
279 279
 		'file' => 'multipart/form-data',
280  
-		'xhtml'	=> array('application/xhtml+xml', 'application/xhtml', 'text/xhtml'),
281  
-		'xhtml-mobile'	=> 'application/vnd.wap.xhtml+xml',
  280
+		'xhtml' => array('application/xhtml+xml', 'application/xhtml', 'text/xhtml'),
  281
+		'xhtml-mobile' => 'application/vnd.wap.xhtml+xml',
282 282
 		'atom' => 'application/atom+xml',
283 283
 		'amf' => 'application/x-amf',
284 284
 		'wap' => array('text/vnd.wap.wml', 'text/vnd.wap.wmlscript', 'image/vnd.wap.wbmp'),
2  lib/Cake/Network/Http/HttpSocket.php
@@ -876,7 +876,7 @@ protected function _buildRequestLine($request = array(), $versionToken = 'HTTP/1
876 876
 			return false;
877 877
 		}
878 878
 
879  
-		$request['uri']	= $this->_parseUri($request['uri']);
  879
+		$request['uri'] = $this->_parseUri($request['uri']);
880 880
 		$request = array_merge(array('method' => 'GET'), $request);
881 881
 		if (!empty($this->_proxy['host'])) {
882 882
 			$request['uri'] = $this->_buildUri($request['uri'], '%scheme://%host:%port/%path?%query');
14  lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php
@@ -3466,18 +3466,18 @@ public function testResetMultipleHabtmAssociations() {
3466 3466
 		$articleHabtm = array(
3467 3467
 			'hasAndBelongsToMany' => array(
3468 3468
 				'Tag' => array(
3469  
-					'className'				=> 'Tag',
3470  
-					'joinTable'				=> 'articles_tags',
3471  
-					'foreignKey'			=> 'article_id',
  3469
+					'className' => 'Tag',
  3470
+					'joinTable' => 'articles_tags',
  3471
+					'foreignKey' => 'article_id',
3472 3472
 					'associationForeignKey' => 'tag_id'
3473 3473
 				),
3474 3474
 				'ShortTag' => array(
3475  
-					'className'				=> 'Tag',
3476  
-					'joinTable'				=> 'articles_tags',
3477  
-					'foreignKey'			=> 'article_id',
  3475
+					'className' => 'Tag',
  3476
+					'joinTable' => 'articles_tags',
  3477
+					'foreignKey' => 'article_id',
3478 3478
 					'associationForeignKey' => 'tag_id',
3479 3479
 					// LENGHT function mysql-only, using LIKE does almost the same
3480  
-					'conditions' 			=> "ShortTag.tag LIKE '???'"
  3480
+					'conditions' => "ShortTag.tag LIKE '???'"
3481 3481
 				)
3482 3482
 			)
3483 3483
 		);

1 note on commit b7e75a6

ceeram
Collaborator

We should make sure phpcs catches these as well

Please sign in to comment.
Something went wrong with that request. Please try again.