Skip to content

Missing dependency on guzzlehttp/promises and not compatible with v2.0 #175

@lazka

Description

@lazka

After the recent update of guzzlehttp/promises to v2 (https://github.com/guzzle/promises) with breaking changes this package is broken by it:

PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Promise\inspect_all() in /vendor/kevinrob/guzzle-cache-middleware/src/CacheMiddleware.php:113

I'd guess a fix would be to explicitly depend on guzzlehttp/promises, either v1 or v2, or both somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions