hetzner-cloud-php-sdk icon indicating copy to clipboard operation
hetzner-cloud-php-sdk copied to clipboard

Do not extend Guzzle\Client

Open tomboe311 opened this issue 4 years ago • 1 comments

Extending Guzzle\Client is deprecated since Guzzle 7.1 and the class is annotated as @final. The class will be actually final in Guzzle 8.0.

See guzzle issue#2521

tomboe311 avatar Nov 16 '21 13:11 tomboe311

On a related note, what about switching to the Symfony HttpClient? Or simply requiring that the application implement a psr-7 interface, and not providing a specific implementation of one?

tacman avatar Sep 24 '22 10:09 tacman