Browse Source

Fix coding standard errors

ADmad 13 years ago
parent
commit
fa5ccf46d0

+ 1 - 1
lib/Cake/Console/ShellDispatcher.php

@@ -215,7 +215,7 @@ class ShellDispatcher {
 				return $Shell->main();
 			}
 		}
-		
+
 		throw new MissingShellMethodException(array('shell' => $shell, 'method' => $command));
 	}
 

+ 0 - 1
lib/Cake/Test/Case/Log/CakeLogTest.php

@@ -383,7 +383,6 @@ class CakeLogTest extends CakeTestCase {
 		CakeLog::drop('shops');
 	}
 
-
 	public function testScopedLoggingExclusive() {
 		$this->_deleteLogs();
 

+ 1 - 2
lib/Cake/Test/Case/Model/Validator/CakeValidationRuleTest.php

@@ -178,7 +178,6 @@ class CakeValidationRuleTest extends CakeTestCase {
  * @return void
  */
 	public function testCheckRequiredWhenRequiredAndAllowEmpty() {
-
 		$Rule = $this->getMock('CakeValidationRule', array('isRequired'));
 		$Rule->expects($this->any())
 			->method('isRequired')
@@ -195,6 +194,6 @@ class CakeValidationRuleTest extends CakeTestCase {
 		$Rule->allowEmpty = false;
 
 		$this->assertTrue($Rule->checkRequired($fieldname, $data), "A null but present field should fail requirement check if allowEmpty is false");
-
 	}
+
 }

+ 0 - 1
lib/Cake/Test/Case/View/Helper/FormHelperTest.php

@@ -5683,7 +5683,6 @@ class FormHelperTest extends CakeTestCase {
 		$result = $this->Form->hour('Model.field', false, array('value' => '23'));
 		$this->assertContains('<option value="11" selected="selected">11</option>', $result);
 
-
 		$this->Form->request->data['Model']['field'] = '2006-10-10 00:12:32';
 		$result = $this->Form->hour('Model.field', true);
 		$expected = array(