Closed
Description
Symfony version(s) affected
7.1
Description
Since the 7.1 upgrade, we get this deprecation (coming from #54806), it seems like the autowiring just detects LoggerAwareInterface and maps setLogger() to be called on NoPrivateNetworkHttpClient & co, but this means we cannot get rid of the deprecation except if we redefine all http_client services ourselves to avoid autowiring.
How to reproduce
Just request a NoPrivateNetworkHttpClient instance in an autowired service.
Possible Solution
No response
Additional Context
No response