From efb6fc6990cbb607b4d01b7251025d2cd5c16bcf Mon Sep 17 00:00:00 2001 From: gjuric Date: Wed, 1 Sep 2021 09:08:56 +0200 Subject: [PATCH] Specify service_container parameter explicitly when defining Router jms_i18n_routing.router service definition uses frameworks router.default service as a parent in it's definition. The parent relies on autowiring to inject Psr\Container\ContainerInterface as a first parameter. Autowiring of ContainerInterface has been deprecated since Symfony 5.1 and services using it need to define this parameter explicitly. --- Resources/config/services.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/config/services.xml b/Resources/config/services.xml index f17a531..9b4c6a7 100644 --- a/Resources/config/services.xml +++ b/Resources/config/services.xml @@ -25,6 +25,7 @@ +