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
* 3.4:
Remove randomness from dumped containers
fixed messages to be explicit about the package needed to be installed
[FrameworkBundle] Fix recommended composer command (add vendor)
[WebProfilerBundle] set the var in the right scope
[TwigBundle] fix lowest dep
[HttpKernel] Disable CSP header on exception pages
Use the default host even if context is empty and fallback to relative URL if empty host
Proposing Flex-specific error messages in the controller shortcuts
thrownew \LogicException('You can not use the "renderView" method if the Templating Component or the Twig Bundle are not available.');
209
+
thrownew \LogicException('You can not use the "renderView" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
thrownew \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available.');
227
+
thrownew \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
thrownew \LogicException('You can not use the "stream" method if the Templating Component or the Twig Bundle are not available.');
259
+
thrownew \LogicException('You can not use the "stream" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
if (!class_exists(AccessDeniedException::class)) {
299
-
thrownew \LogicException('You can not use the "createAccessDeniedException" method if the Security component is not available.');
299
+
thrownew \LogicException('You can not use the "createAccessDeniedException" method if the Security component is not available. Try running "composer require symfony/security-bundle".');
if (!$this->container->has('security.csrf.token_manager')) {
381
-
thrownew \LogicException('CSRF protection is not enabled in your application.');
381
+
thrownew \LogicException('CSRF protection is not enabled in your application. Enable it with the "csrf_protection" key in "config/packages/framework.yaml".');
@@ -1137,7 +1138,7 @@ private function registerSecurityCsrfConfiguration(array $config, ContainerBuild
1137
1138
}
1138
1139
1139
1140
if (!class_exists('Symfony\Component\Security\Csrf\CsrfToken')) {
1140
-
thrownewLogicException('CSRF support cannot be enabled as the Security CSRF component is not installed. Try running "composer require security-csrf".');
1141
+
thrownewLogicException('CSRF support cannot be enabled as the Security CSRF component is not installed. Try running "composer require symfony/security-csrf".');
1141
1142
}
1142
1143
1143
1144
if (!$this->sessionConfigEnabled) {
@@ -1332,7 +1333,7 @@ private function registerLockConfiguration(array $config, ContainerBuilder $cont
0 commit comments