Closed
Description
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