Skip to content

Commit e5225b3

Browse files
committed
Fix exceptions namespaces
1 parent 2214837 commit e5225b3

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

src/Bridge/Symfony/Bundle/Test/Exception/JsonException.php

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

1212
declare(strict_types=1);
1313

14-
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test;
14+
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Exception;
1515

1616
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
1717

src/Bridge/Symfony/Bundle/Test/Exception/RedirectionException.php

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

1212
declare(strict_types=1);
1313

14-
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test;
14+
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Exception;
1515

1616
use Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
1717

src/Bridge/Symfony/Bundle/Test/Exception/ServerException.php

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

1212
declare(strict_types=1);
1313

14-
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test;
14+
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Exception;
1515

1616
use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
1717

src/Bridge/Symfony/Bundle/Test/Exception/TransportException.php

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

1212
declare(strict_types=1);
1313

14-
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test;
14+
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Exception;
1515

1616
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
1717

src/Bridge/Symfony/Bundle/Test/Response.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@
1414
namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Test;
1515

1616
use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Exception\ClientException;
17+
use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Exception\ServerException;
18+
use ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Exception\RedirectionException;
1719
use Symfony\Component\BrowserKit\Response as BrowserKitResponse;
1820
use Symfony\Component\HttpClient\Exception\JsonException;
1921
use Symfony\Component\HttpFoundation\Response as HttpFoundationResponse;
20-
use Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface;
21-
use Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface;
22-
use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
2322
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
2423
use Symfony\Contracts\HttpClient\ResponseInterface;
2524

0 commit comments

Comments
 (0)