Lately in my projects I've been getting this deprecation warning when running tests:
Since symfony/framework-bundle 5.2: Accessing the "liip_functional_test.validator" service directly from the container is deprecated, use dependency injection instead.
That service has public="true" so I'm not sure why this warning happens. Maybe it's some nuance of service decoration.
This can be fixed by going through test.service_container.
Lately in my projects I've been getting this deprecation warning when running tests:
That service has
public="true"
so I'm not sure why this warning happens. Maybe it's some nuance of service decoration.This can be fixed by going through
test.service_container
.