Skip to content

Incompatibility with php-http/curl-client 2.x #338

Closed
@deguif

Description

@deguif
Q A
Bug? yes
Version 1.15.2

Actual Behavior

Not compatible with php-http/curl-client 2.0 as the Curl client expects a Psr\Http\Message\ResponseFactoryInterface and a Psr\Http\Message\StreamFactoryInterface arguments, but the CurlFactory instantiates the curl client with a Http\Message\MessageFactory and a Http\Message\StreamFactory.

Possible Solutions

Change the type-hint in the curl factory but this would probably be a BC break.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions