Skip to content

Commit

Permalink
Replace package
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Nov 5, 2023
1 parent bd11bf5 commit 94f2e33
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"fansipan/mock-client": "^1.0",
"friendsofphp/php-cs-fixer": "^3.15",
"guzzlehttp/guzzle": "^7.5",
"jenky/atlas": "^0.5",
"fansipan/fansipan": "^0.6",
"phpbench/phpbench": "^1.2",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.0",
Expand Down
4 changes: 2 additions & 2 deletions src/Client/SymfonyClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace Fansipan\Peak\Client;

use Fansipan\Exception\NetworkException;
use Fansipan\Exception\RequestException;
use Fansipan\Peak\Concurrency\Deferrable;
use Http\Discovery\Psr17FactoryDiscovery;
use Jenky\Atlas\Exception\NetworkException;
use Jenky\Atlas\Exception\RequestException;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseFactoryInterface;
use Psr\Http\Message\ResponseInterface;
Expand Down
6 changes: 3 additions & 3 deletions src/ConnectorPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

namespace Fansipan\Peak;

use Fansipan\Contracts\ConnectorInterface;
use Fansipan\Peak\Client\AsyncClientInterface;
use Fansipan\Peak\Exception\InvalidPoolRequestException;
use Fansipan\Peak\Exception\UnsupportedClientException;
use Jenky\Atlas\Contracts\ConnectorInterface;
use Jenky\Atlas\Request;
use Jenky\Atlas\Response;
use Fansipan\Request;
use Fansipan\Response;

if (! \interface_exists(ConnectorInterface::class)) {
// @codeCoverageIgnoreStart
Expand Down
2 changes: 1 addition & 1 deletion src/PoolFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace Fansipan\Peak;

use Fansipan\Contracts\ConnectorInterface;
use Fansipan\Peak\Client\AsyncClientFactory;
use Fansipan\Peak\Client\AsyncClientInterface;
use Jenky\Atlas\Contracts\ConnectorInterface;
use Psr\Http\Client\ClientInterface;

class PoolFactory
Expand Down
2 changes: 1 addition & 1 deletion tests/AkamaiTileRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Fansipan\Peak\Tests;

use Jenky\Atlas\Request;
use Fansipan\Request;

final class AkamaiTileRequest extends Request
{
Expand Down
2 changes: 1 addition & 1 deletion tests/DummyRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Fansipan\Peak\Tests;

use Jenky\Atlas\Request;
use Fansipan\Request;

final class DummyRequest extends Request
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PoolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Fansipan\Peak\Tests;

use Fansipan\GenericConnector;
use Fansipan\Peak\Client\AsyncClientFactory;
use Fansipan\Peak\Client\GuzzleClient;
use Fansipan\Peak\Client\ReactClient;
Expand All @@ -18,7 +19,6 @@
use Fansipan\Peak\PoolTrait;
use GuzzleHttp\Client;
use Http\Discovery\Psr17FactoryDiscovery;
use Jenky\Atlas\GenericConnector;
use PHPUnit\Framework\TestCase;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestInterface;
Expand Down
8 changes: 4 additions & 4 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace Fansipan\Peak\Tests;

use Fansipan\Contracts\ConnectorInterface;
use Fansipan\GenericConnector;
use Fansipan\Middleware\Interceptor;
use Fansipan\Peak\Client\AsyncClientInterface;
use Fansipan\Peak\ClientPool;
use Fansipan\Peak\ConnectorPool;
use Fansipan\Peak\PoolFactory;
use Fansipan\Response;
use Http\Discovery\Psr17FactoryDiscovery;
use Jenky\Atlas\Contracts\ConnectorInterface;
use Jenky\Atlas\GenericConnector;
use Jenky\Atlas\Middleware\Interceptor;
use Jenky\Atlas\Response;
use PHPUnit\Framework\TestCase as BaseTestCase;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\ResponseInterface;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
use Fansipan\Peak\Client\GuzzleClient;
use Fansipan\Peak\Client\SymfonyClient;
use Fansipan\Peak\Concurrency\Deferrable;
use Fansipan\Util;
use GuzzleHttp\Client;
use GuzzleHttp\Handler\MockHandler;
use GuzzleHttp\HandlerStack;
use Jenky\Atlas\Util;
use Symfony\Component\HttpClient\MockHttpClient;

trait TestTrait
Expand Down

0 comments on commit 94f2e33

Please sign in to comment.