Skip to content

Commit cf7124d

Browse files
committed
Rebase master in order to use VCR\Response instead of Guzzle
1 parent 396ce17 commit cf7124d

File tree

8 files changed

+146
-155
lines changed

8 files changed

+146
-155
lines changed

composer.lock

Lines changed: 112 additions & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/VCR/Event/AfterHttpRequestEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace VCR\Event;
44

55
use VCR\Request;
6-
use Guzzle\Http\Message\Response;
6+
use VCR\Response;
77
use Symfony\Component\EventDispatcher\Event;
88

99
class AfterHttpRequestEvent extends Event

src/VCR/Event/AfterPlaybackEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use VCR\Cassette;
66
use VCR\Request;
7-
use Guzzle\Http\Message\Response;
7+
use VCR\Response;
88
use Symfony\Component\EventDispatcher\Event;
99

1010
class AfterPlaybackEvent extends Event

src/VCR/Event/BeforeRecordEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use VCR\Cassette;
66
use VCR\Request;
7-
use Guzzle\Http\Message\Response;
7+
use VCR\Response;
88
use Symfony\Component\EventDispatcher\Event;
99

1010
class BeforeRecordEvent extends Event

tests/VCR/Event/AfterHttpRequestEventTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace VCR\Event;
44

55
use VCR\Request;
6-
use Guzzle\Http\Message\Response;
6+
use VCR\Response;
77

88
class AfterHttpRequestEventTest extends \PHPUnit_Framework_TestCase
99
{
@@ -24,6 +24,6 @@ public function testGetRequest()
2424

2525
public function testGetResponse()
2626
{
27-
$this->assertInstanceOf('Guzzle\Http\Message\Response', $this->event->getResponse());
27+
$this->assertInstanceOf('VCR\Response', $this->event->getResponse());
2828
}
2929
}

tests/VCR/Event/AfterPlaybackEventTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use VCR\Cassette;
77
use VCR\Configuration;
88
use VCR\Storage;
9-
use Guzzle\Http\Message\Response;
9+
use VCR\Response;
1010

1111
class AfterPlaybackEventTest extends \PHPUnit_Framework_TestCase
1212
{
@@ -31,7 +31,7 @@ public function testGetRequest()
3131

3232
public function testGetResponse()
3333
{
34-
$this->assertInstanceOf('Guzzle\Http\Message\Response', $this->event->getResponse());
34+
$this->assertInstanceOf('VCR\Response', $this->event->getResponse());
3535
}
3636

3737
public function testGetCassette()

tests/VCR/Event/BeforeRecordEventTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use VCR\Cassette;
77
use VCR\Configuration;
88
use VCR\Storage;
9-
use Guzzle\Http\Message\Response;
9+
use VCR\Response;
1010

1111
class BeforeRecordEventTest extends \PHPUnit_Framework_TestCase
1212
{
@@ -31,7 +31,7 @@ public function testGetRequest()
3131

3232
public function testGetResponse()
3333
{
34-
$this->assertInstanceOf('Guzzle\Http\Message\Response', $this->event->getResponse());
34+
$this->assertInstanceOf('VCR\Response', $this->event->getResponse());
3535
}
3636

3737
public function testGetCassette()

0 commit comments

Comments
 (0)