Skip to content

Commit

Permalink
Merge pull request #10 from phramework/analysis-8nN4lv
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
nohponex committed Jan 18, 2016
2 parents 379e9ec + 802014c commit cffa501
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/Models/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public static function requireParameters($parameters, $required)
if (count($missing)) {
throw new MissingParametersException($missing);
}

}

/**
Expand Down
1 change: 0 additions & 1 deletion src/Phramework.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,6 @@ public function invoke()
$method,
$headers
);

} catch (\Phramework\Exceptions\NotFoundException $exception) {
self::errorView(
[(object)[
Expand Down
2 changes: 0 additions & 2 deletions tests/src/Models/FilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ protected function setUp()
*/
protected function tearDown()
{

}

/**
Expand Down Expand Up @@ -150,5 +149,4 @@ public function testCast()
'This test has not been implemented yet.'
);
}

}
2 changes: 0 additions & 2 deletions tests/src/Models/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ protected function setUp()
*/
protected function tearDown()
{

}

/**
Expand Down Expand Up @@ -114,5 +113,4 @@ public function testMergePutParamters()
'This test has not been implemented yet.'
);
}

}
3 changes: 1 addition & 2 deletions tests/src/URIStrategy/ClassBasedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ClassBasedTest extends \PHPUnit_Framework_TestCase
*/
protected function setUp()
{
$this->object = new ClassBased([],[],[]);
$this->object = new ClassBased([], [], []);
}

/**
Expand All @@ -39,5 +39,4 @@ public function testInvoke()
{
$this->markTestIncomplete();
}

}
5 changes: 2 additions & 3 deletions tests/src/URIStrategy/URITemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ protected function setUp()
*/
protected function tearDown()
{

}

public function testSuccessProvider()
Expand Down Expand Up @@ -80,7 +79,8 @@ public function testSuccessProvider()
];
}

public function testFailureProvider(){
public function testFailureProvider()
{
return [
'check relashionship' => [
'book/', 'books'
Expand Down Expand Up @@ -153,5 +153,4 @@ public function testInvoke()
{
$this->markTestIncomplete();
}

}

0 comments on commit cffa501

Please sign in to comment.