diff --git a/src/Models/Request.php b/src/Models/Request.php index 2b005e2..dc7f670 100644 --- a/src/Models/Request.php +++ b/src/Models/Request.php @@ -89,7 +89,6 @@ public static function requireParameters($parameters, $required) if (count($missing)) { throw new MissingParametersException($missing); } - } /** diff --git a/src/Phramework.php b/src/Phramework.php index 7d499b2..e9cce48 100644 --- a/src/Phramework.php +++ b/src/Phramework.php @@ -470,7 +470,6 @@ public function invoke() $method, $headers ); - } catch (\Phramework\Exceptions\NotFoundException $exception) { self::errorView( [(object)[ diff --git a/tests/src/Models/FilterTest.php b/tests/src/Models/FilterTest.php index 34d01e2..df9e8d7 100644 --- a/tests/src/Models/FilterTest.php +++ b/tests/src/Models/FilterTest.php @@ -28,7 +28,6 @@ protected function setUp() */ protected function tearDown() { - } /** @@ -150,5 +149,4 @@ public function testCast() 'This test has not been implemented yet.' ); } - } diff --git a/tests/src/Models/RequestTest.php b/tests/src/Models/RequestTest.php index 33fee47..19c1bc6 100644 --- a/tests/src/Models/RequestTest.php +++ b/tests/src/Models/RequestTest.php @@ -28,7 +28,6 @@ protected function setUp() */ protected function tearDown() { - } /** @@ -114,5 +113,4 @@ public function testMergePutParamters() 'This test has not been implemented yet.' ); } - } diff --git a/tests/src/URIStrategy/ClassBasedTest.php b/tests/src/URIStrategy/ClassBasedTest.php index 8dcf730..b4300a4 100644 --- a/tests/src/URIStrategy/ClassBasedTest.php +++ b/tests/src/URIStrategy/ClassBasedTest.php @@ -19,7 +19,7 @@ class ClassBasedTest extends \PHPUnit_Framework_TestCase */ protected function setUp() { - $this->object = new ClassBased([],[],[]); + $this->object = new ClassBased([], [], []); } /** @@ -39,5 +39,4 @@ public function testInvoke() { $this->markTestIncomplete(); } - } diff --git a/tests/src/URIStrategy/URITemplateTest.php b/tests/src/URIStrategy/URITemplateTest.php index ea8d898..7a6f0c0 100644 --- a/tests/src/URIStrategy/URITemplateTest.php +++ b/tests/src/URIStrategy/URITemplateTest.php @@ -48,7 +48,6 @@ protected function setUp() */ protected function tearDown() { - } public function testSuccessProvider() @@ -80,7 +79,8 @@ public function testSuccessProvider() ]; } - public function testFailureProvider(){ + public function testFailureProvider() + { return [ 'check relashionship' => [ 'book/', 'books' @@ -153,5 +153,4 @@ public function testInvoke() { $this->markTestIncomplete(); } - }