mglaman / drupalorg-cli

A command line tool for interfacing with Drupal.org
128 stars 32 forks source link

Use a cache middleware for Guzzle #147

Closed mglaman closed 2 years ago

mglaman commented 2 years ago

Fixes #146

mglaman commented 2 years ago

Looks like we have problems with serializing the response, which breaks the point of having this middleware.

PHP Deprecated:  igbinary_serialize(): Cannot serialize resource(stream) and resources may be converted to objects that cannot be serialized in future php releases. Serializing the value as null instead in /home/runner/work/drupalorg-cli/drupalorg-cli/vendor/symfony/cache/Marshaller/DefaultMarshaller.php on line 47

https://github.com/Kevinrob/guzzle-cache-middleware/issues/148

The problem is with symfony/cache.