captbaritone/codeception-mailcatcher-module

problems with guzzle 5.3.1

oprudkyi opened this issue · 1 comments

it breaks in weird way
[GuzzleHttp\Exception\RequestException] cURL error 3: malformed
$I->resetEmails()
#9 vendor/captbaritone/mailcatcher-codeception-module/src/MailCatcher.php:50
#10 Codeception\Module\MailCatcher->resetEmails

while it's not big issue, but it took me sometime to understand
as temporal fix user can

  • edit vendor/captbaritone/mailcatcher-codeception-module/src/MailCatcher.php
    $this->mailcatcher = new \GuzzleHttp\Client(['base_url' => $base_uri]);
    (i.e. change base_uri to base_url )
  • or check what forces particular version of guzzle , in my case one of packages requires guzzle "<6"

I think it would be best for this small project to not support Guzzle <6, as has been set by the composer.json, but I am open for debate.