Closed ramsey closed 5 years ago
I believe this should happen as part of the PSR-18 upgrade, until then I see no point in this change.
/cc @Nyholm
Yeah, check out the 2.x branch. I think we should merge that one to master now.
This is fixed in master. Thank you for this PR.
What's in this PR?
Updates
Http\Client\Exception
to extend from\Throwable
. Also updates the library to support only PHP version 7.0.0 and greater, to allow use of the\Throwable
interface, introduced in PHP 7.Why?
Static analysis tools are complaining when creating HTTP clients that implement
Http\Client\HttpClient
Example Usage
n/a
Checklist
Will update the CHANGELOG if this approach is acceptable to the maintainers.
To Do
n/a