kasparsj/scopus-api-php

Guzzle 6 and PHP 7

vincentauger opened this issue · 0 comments

With newer version of PHP, older version of Guzzle are starting to throw this error:

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /code/scopus/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 67

Have tested with Guzzle version 7.2.0 and it removes these errors. Suggest that you bump Guzzle dependency. Successfully tested here.