Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix coding standard errors

  • Loading branch information...
commit fa5ccf46d0f3041444e0baea12060927a2bd0db7 1 parent 084636b
@ADmad ADmad authored
View
2  lib/Cake/Console/ShellDispatcher.php
@@ -215,7 +215,7 @@ public function dispatch() {
return $Shell->main();
}
}
-
+
throw new MissingShellMethodException(array('shell' => $shell, 'method' => $command));
}
View
1  lib/Cake/Test/Case/Log/CakeLogTest.php
@@ -383,7 +383,6 @@ public function testScopedLoggingBC() {
CakeLog::drop('shops');
}
-
public function testScopedLoggingExclusive() {
$this->_deleteLogs();
View
3  lib/Cake/Test/Case/Model/Validator/CakeValidationRuleTest.php
@@ -178,7 +178,6 @@ public function testIsEmptyAllowed() {
* @return void
*/
public function testCheckRequiredWhenRequiredAndAllowEmpty() {
-
$Rule = $this->getMock('CakeValidationRule', array('isRequired'));
$Rule->expects($this->any())
->method('isRequired')
@@ -195,6 +194,6 @@ public function testCheckRequiredWhenRequiredAndAllowEmpty() {
$Rule->allowEmpty = false;
$this->assertTrue($Rule->checkRequired($fieldname, $data), "A null but present field should fail requirement check if allowEmpty is false");
-
}
+
}
View
1  lib/Cake/Test/Case/View/Helper/FormHelperTest.php
@@ -5683,7 +5683,6 @@ public function testHour() {
$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(
Please sign in to comment.
Something went wrong with that request. Please try again.