Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Deprecation Notice Symfony\Component\HttpClient\ScopingHttpClient #40996

Copy link
Copy link
Closed
@robbertstevens

Description

@robbertstevens
Issue body actions

Symfony version(s) affected: 5.2.*

Description
When I have run a console command I get the message

User Deprecated: Class "Symfony\Component\HttpClient\ScopingHttpClient" should implement method "Symfony\Contracts\HttpClient\HttpClientInterface::withOptions(array $options)": Returns a new instance of the client with new default options.

When I look in the Symfony\Component\HttpClient\ScopingHttpClient class it indeed doesn't have the ::withOptions method.

How to reproduce
I think you can reproduce it by requiring the symfony/http-client@5.2.6 package

Possible Solution
I guess it's adding this method

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.