Closed core23 closed 5 years ago
Can you maybe elaborate what the benefit is of moving to the PSR stub stuff and using an adapter instead of going guzzle directly?
Can you maybe elaborate what the benefit is of moving to the PSR stub stuff and using an adapter instead of going guzzle directly?
The reason for the guzzle adapter: https://github.com/heiseonline/shariff-backend-php/pull/151/files#r235761970
Can you maybe elaborate what the benefit is of moving to the PSR stub stuff and using an adapter instead of going guzzle directly?
The reason for the guzzle adapter: https://github.com/heiseonline/shariff-backend-php/pull/151/files#r235761970
Just looking at the code changes does not enlight me about what the benefits are. Could you maybe explain them a bit more specific?
This feature is not BC. It will drop Guzzle and replaces it with the generic PSR Http Client. This is a framework agnostic standard for all http clients, so you can use this library with any other http client (e.g. buzz, curl guzzle5, guzzle, etc.)
Because the PSR Http Client requires PHP 7 (and PHP 5 will end in a few days), this PR also drops support for PHP5 and PHPUnit 5.