Skip to content

Commit

Permalink
guzzle was never really a dependancy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmeyering committed Aug 4, 2015
1 parent 75ca2b2 commit 37a1db8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ php:
- 5.5
- 5.6
- hhvm
- nightly
install:
- composer install -n
script: ./vendor/bin/phpspec run --format=pretty

3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
},
"require-dev": {
"phpspec/phpspec": "^2.2",
"apigen/apigen": "^4.1",
"guzzlehttp/guzzle": "^6.0"
"apigen/apigen": "^4.1"
},
"autoload": {
"psr-4": {
Expand Down
16 changes: 5 additions & 11 deletions spec/ExplorerSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace spec\HalExplorer;

use GuzzleHttp\Client;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Psr\Http\Message\ResponseInterface;
Expand Down Expand Up @@ -93,8 +92,7 @@ function it_should_return_a_response_after_a_request(

function it_should_be_able_to_retreive_a_relation_identified_by_a_link(
AdapterInterface $adapter,
ResponseInterface $response,
Client $client
ResponseInterface $response
)
{
$this->setBaseUrl($this->baseUrl);;
Expand All @@ -110,8 +108,7 @@ function it_should_be_able_to_retreive_a_relation_identified_by_a_link(

function it_should_be_able_to_create_a_relation_identified_by_a_link(
AdapterInterface $adapter,
ResponseInterface $response,
Client $client
ResponseInterface $response
)
{
$this->setBaseUrl($this->baseUrl);;
Expand All @@ -127,8 +124,7 @@ function it_should_be_able_to_create_a_relation_identified_by_a_link(

function it_should_be_able_to_update_a_relation_identified_by_a_link(
AdapterInterface $adapter,
ResponseInterface $response,
Client $client
ResponseInterface $response
)
{
$this->setBaseUrl($this->baseUrl);;
Expand All @@ -144,8 +140,7 @@ function it_should_be_able_to_update_a_relation_identified_by_a_link(

function it_should_be_able_to_delete_a_relation_identified_by_a_link(
AdapterInterface $adapter,
ResponseInterface $response,
Client $client
ResponseInterface $response
)
{
$this->setBaseUrl($this->baseUrl);;
Expand All @@ -161,8 +156,7 @@ function it_should_be_able_to_delete_a_relation_identified_by_a_link(

function it_should_throw_an_exception_when_no_link_exists_and_we_ask_it_to_follow_it(
AdapterInterface $adapter,
ResponseInterface $response,
Client $client
ResponseInterface $response
)
{
$this->setBaseUrl($this->baseUrl);;
Expand Down

0 comments on commit 37a1db8

Please sign in to comment.