Browse Source

Fix CS errors

ADmad 10 years ago
parent
commit
c997f20e07

+ 0 - 1
src/Core/functions.php

@@ -19,7 +19,6 @@ if (!defined('DS')) {
      * Define DS as short form of DIRECTORY_SEPARATOR.
      */
     define('DS', DIRECTORY_SEPARATOR);
-
 }
 
 if (!function_exists('h')) {

+ 0 - 1
src/Network/Http/Auth/Oauth.php

@@ -63,7 +63,6 @@ class Oauth
 
             default:
                 throw new Exception(sprintf('Unknown Oauth signature method %s', $credentials['method']));
-
         }
         $request->header('Authorization', $value);
     }

+ 0 - 2
src/Utility/Hash.php

@@ -177,7 +177,6 @@ class Hash
                 $next = $filter;
             }
             $context = [$_key => $next];
-
         }
         return $context[$_key];
     }
@@ -277,7 +276,6 @@ class Hash
             ) {
                 return false;
             }
-
         }
         return true;
     }

+ 0 - 2
src/Validation/Validation.php

@@ -520,13 +520,11 @@ class Validation
 
             if ($places === null) {
                 $regex = "/^{$sign}(?:{$lnum}|{$dnum}){$exp}$/";
-
             } elseif ($places === true) {
                 if (is_float($check) && floor($check) === $check) {
                     $check = sprintf("%.1f", $check);
                 }
                 $regex = "/^{$sign}{$dnum}{$exp}$/";
-
             } elseif (is_numeric($places)) {
                 $places = '[0-9]{' . $places . '}';
                 $dnum = "(?:[0-9]*[\.]{$places}|{$lnum}[\.]{$places})";

+ 0 - 1
tests/TestCase/Filesystem/FileTest.php

@@ -446,7 +446,6 @@ class FileTest extends TestCase
             $this->assertEquals($data, file_get_contents($tmpFile));
             $this->assertTrue(is_resource($TmpFile->handle));
             $TmpFile->close();
-
         }
         unlink($tmpFile);
     }