File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2121 "php-http/discovery" : " ^1.0" ,
2222 "php-http/httplug" : " ^2.0" ,
2323 "psr/http-client" : " ^1.0" ,
24- "psr/http-factory" : " ^1.0" ,
24+ "psr/http-factory-implementation " : " ^1.0" ,
2525 "psr/http-message" : " ^1.0 || ^2.0" ,
2626 "symfony/polyfill-php80" : " ^1.17"
2727 },
3636 "config" : {
3737 "sort-packages" : true ,
3838 "allow-plugins" : {
39- "php-http/discovery" : false
39+ "php-http/discovery" : true
4040 }
4141 },
4242 "autoload" : {
Original file line number Diff line number Diff line change 77use Http \Client \HttpAsyncClient ;
88use Http \Client \HttpClient ;
99use Http \Discovery \MessageFactoryDiscovery ;
10+ use Http \Discovery \Psr17FactoryDiscovery ;
1011use Http \Message \RequestMatcher ;
1112use Http \Message \ResponseFactory ;
1213use Psr \Http \Client \ClientExceptionInterface ;
@@ -72,7 +73,7 @@ public function __construct($responseFactory = null)
7273 );
7374 }
7475
75- $ this ->responseFactory = $ responseFactory ?: MessageFactoryDiscovery:: find ();
76+ $ this ->responseFactory = $ responseFactory ?: Psr17FactoryDiscovery:: findResponseFactory ();
7677 }
7778
7879 /**
You can’t perform that action at this time.
0 commit comments