Description
Hello,
On the latest stable version of Guzzle, the PSR compatible methods are:
send
sendAsync
https://github.com/guzzle/guzzle/blob/aab4ebd862aa7d04f01a4b51849d657db56d882e/src/Client.php#L107
However, on Omni's Client, we are calling sendRequest method:
omnipay-common/src/Common/Http/Client.php
Line 67 in 24ea70a
This will cause the Guzzle client to call the magic __call method which in turn will call the request method instead:
https://github.com/guzzle/guzzle/blob/aab4ebd862aa7d04f01a4b51849d657db56d882e/src/Client.php#L85
https://github.com/guzzle/guzzle/blob/aab4ebd862aa7d04f01a4b51849d657db56d882e/src/Client.php#L180
I'm not sure how this should be handled, perhaps we check for guzzle's version? Or check for Guzzle's class and the presence of the method sendRequest?