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
After #211 I get a lot of Service 'xxx' is private, which is normally a good thing. But In my codebase I get these messages solely when I fetch services in my functional tests.
The container in static::getContainer() is actually a special test container. It gives you access to both the public services and the non-removed private services services.
So, I'm not sure whether these issues should be given by default for the test container as well. For now I can ignore these messages from my test folder.
The text was updated successfully, but these errors were encountered:
Hi!
After #211 I get a lot of
Service 'xxx' is private
, which is normally a good thing. But In my codebase I get these messages solely when I fetch services in my functional tests.Example:
Mesage:
https://symfony.com/doc/current/testing.html#retrieving-services-in-the-test states:
So, I'm not sure whether these issues should be given by default for the test container as well. For now I can ignore these messages from my test folder.
The text was updated successfully, but these errors were encountered: