From 2ae2fd800d99123e1107d08afb1345f54932e8ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9B=D0=B8?= Date: Mon, 8 Apr 2019 12:19:48 +0500 Subject: [PATCH] [FrameworkBundle] Fix Controller deprecated when using composer --optimized Update Controller.php Update Controller.php --- src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php b/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php index 9ab6f9eb49..b6708db544 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php @@ -14,14 +14,12 @@ namespace Symfony\Bundle\FrameworkBundle\Controller; use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\ContainerAwareTrait; -@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.2, use %s instead.', Controller::class, AbstractController::class), E_USER_DEPRECATED); - /** * Controller is a simple implementation of a Controller. * * It provides methods to common features needed in controllers. * - * @deprecated since Symfony 4.2, use {@see AbstractController} instead. + * @deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. * * @author Fabien Potencier */