yang icon indicating copy to clipboard operation
yang copied to clipboard

Adopt PSR-18

Open holtkamp opened this issue 5 years ago • 1 comments

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

holtkamp avatar Jan 11 '21 17:01 holtkamp

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.

kocsismate avatar Apr 04 '21 14:04 kocsismate