mailjet / mailjet-apiv3-php-no-composer

[API v3] Mailjet PHP Wrapper bundled with composer dependencies
MIT License
9 stars 5 forks source link

json_encode function does not expect depth parameter in PHP 5.4 #3

Open xaviermartinez2012 opened 7 years ago

xaviermartinez2012 commented 7 years ago

The depth parameter was added to the json_encode function on version 5.5. Therefore, the call to json_encode (in ./vendor/guzzlehttp/guzzle/src/functions.php line 322) raises a warning.

Running $response = $mj->post(Resources::$Email, ['body' => $body]); crashes due to the above.