From eaf5642b95abf6063d80e8e85d1a33b69340f692 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Thu, 14 Dec 2017 11:37:45 -0800 Subject: [PATCH] Tweak message to be Flex friendly --- .../FrameworkBundle/DependencyInjection/FrameworkExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php index e4c3b08d93..3418557352 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php @@ -1158,7 +1158,7 @@ class FrameworkExtension extends Extension } if (!class_exists('Symfony\Component\Security\Csrf\CsrfToken')) { - throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed.'); + throw new LogicException('CSRF support cannot be enabled as the Security CSRF component is not installed. Try running "composer require security-csrf".'); } if (!$this->sessionConfigEnabled) {