Skip to content

Commit 524a4f7

Browse files
committed
move exception
1 parent 123a821 commit 524a4f7

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

spec/Plugin/CachePluginSpec.php renamed to spec/CachePluginSpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace spec\Http\Client\Common\Plugin;
3+
namespace spec\Http\Client\Common;
44

55
use Prophecy\Argument;
66
use Http\Message\StreamFactory;
@@ -24,7 +24,7 @@ function let(CacheItemPoolInterface $pool, StreamFactory $streamFactory)
2424

2525
function it_is_initializable(CacheItemPoolInterface $pool)
2626
{
27-
$this->shouldHaveType('Http\Client\Common\Plugin\CachePlugin');
27+
$this->shouldHaveType('Http\Client\Common\CachePlugin');
2828
}
2929

3030
function it_is_a_plugin()

src/Plugin/CachePlugin.php renamed to src/CachePlugin.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<?php
22

3-
namespace Http\Client\Common\Plugin;
3+
namespace Http\Client\Common;
44

5-
use Http\Client\Common\Plugin;
6-
use Http\Client\Common\RewindStreamException;
5+
use Http\Client\Common\Exception\RewindStreamException;
76
use Http\Message\StreamFactory;
87
use Http\Promise\FulfilledPromise;
98
use Psr\Cache\CacheItemInterface;

src/RewindStreamException.php renamed to src/Exception/RewindStreamException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Http\Client\Common;
3+
namespace Http\Client\Common\Exception;
44

55
use Http\Client\Exception;
66

0 commit comments

Comments
 (0)