You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above example, autowiring is not configured for Psr\Log\LoggerInterface $someLogger, the default logger is injected. I can imagine a scenario where you have a service injected but after an upgrade, the name is no longer valid so it is silently swapped for the default.
Possible Solution
I think the Target name should be validated when building the container and an exception thrown if invalid.