Skip to content

Commit b16e76d

Browse files
authored
Adapt to the REVIEW version of PSR18 (#137)
1 parent 89939cc commit b16e76d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"require": {
1818
"php": "^7.0",
1919
"psr/http-message": "^1.0",
20-
"psr/http-client": "^0.1",
20+
"psr/http-client": "^0.2",
2121
"php-http/promise": "^1.0"
2222
},
2323
"require-dev": {

src/Exception/NetworkException.php

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

33
namespace Http\Client\Exception;
44

5-
use Psr\Http\Client\Exception\NetworkException as PsrNetworkException;
5+
use Psr\Http\Client\NetworkException as PsrNetworkException;
66

77
/**
88
* Thrown when the request cannot be completed because of network issues.

src/Exception/RequestException.php

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

55
use Psr\Http\Message\RequestInterface;
6-
use Psr\Http\Client\Exception\RequestException as PsrRequestException;
6+
use Psr\Http\Client\RequestException as PsrRequestException;
77

88
/**
99
* Exception for when a request failed, providing access to the failed request.

0 commit comments

Comments
 (0)