From 37a1db854236e055921161d0361559442e6ebaf7 Mon Sep 17 00:00:00 2001 From: Jared Meyering Date: Mon, 3 Aug 2015 23:49:17 -0500 Subject: [PATCH] guzzle was never really a dependancy --- .travis.yml | 4 +++- composer.json | 3 +-- spec/ExplorerSpec.php | 16 +++++----------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1908a92..c250063 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,7 @@ php: - 5.5 - 5.6 - hhvm - - nightly +install: + - composer install -n script: ./vendor/bin/phpspec run --format=pretty + diff --git a/composer.json b/composer.json index 7dec364..5153d66 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/spec/ExplorerSpec.php b/spec/ExplorerSpec.php index a290c75..3be3e7f 100644 --- a/spec/ExplorerSpec.php +++ b/spec/ExplorerSpec.php @@ -2,7 +2,6 @@ namespace spec\HalExplorer; -use GuzzleHttp\Client; use PhpSpec\ObjectBehavior; use Prophecy\Argument; use Psr\Http\Message\ResponseInterface; @@ -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);; @@ -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);; @@ -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);; @@ -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);; @@ -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);;