yang
yang copied to clipboard
Adopt PSR-18
Http\Client\HttpClient is deprecated, use of PSR-18 using Psr\Http\Client\ClientInterface is preferred
Since https://github.com/woohoolabs/yang/blob/d0a085edeb9dd7b8ebaad7d9f5a3dbbc88f7149a/src/JsonApi/Client/JsonApiAsyncClient.php still depends on HTTPPlug, maybe this can be isolated in a separate package woohoolabs/yang-async?
This would allow a smooth migration to PSR-18
Thanks for bringing this issue up! To be honest, I forgot about that HTTPlug is still used.. So I agree we should get rid of it. That said, I already wanted to make a major release (so that PHP 7.4 is required), and your suggestions will go well with that.