php-http / discovery

Finds installed clients and message factories
http://php-http.org
MIT License
1.26k stars 47 forks source link

Deprecate HttpClientDiscovery, use Psr18ClientDiscovery instead #235

Closed nicolas-grekas closed 1 year ago

nicolas-grekas commented 1 year ago
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Related tickets -
Documentation -
License MIT

Relates to https://github.com/php-http/httplug/pull/171

hugofintecture commented 1 year ago

Hello @nicolas-grekas! Can we use Psr18ClientDiscovery for prependStrategy(MockClientStrategy::class); ? If yes, the example in the documentation is not up-to-date :) https://docs.php-http.org/en/latest/discovery.html?highlight=Psr18ClientDiscovery#mock-client-discovery

nicolas-grekas commented 1 year ago

Please send a doc PR :)

hugofintecture commented 1 year ago

Sure! Was to to be sure :)