From a31a6531c7a96f8f3c0cce99c9ab9344df3f0b0e Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 11 Jan 2013 09:12:57 +0100 Subject: [PATCH] [HttpKernel] fixed usage of false as a valid strategy (for BC) --- src/Symfony/Component/HttpKernel/HttpContentRenderer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/HttpKernel/HttpContentRenderer.php b/src/Symfony/Component/HttpKernel/HttpContentRenderer.php index 4849b8f6b5..ca35cd711f 100644 --- a/src/Symfony/Component/HttpKernel/HttpContentRenderer.php +++ b/src/Symfony/Component/HttpKernel/HttpContentRenderer.php @@ -126,6 +126,10 @@ class HttpContentRenderer implements EventSubscriberInterface trigger_error('The "true" value for the "standalone" option is deprecated in version 2.2 and replaced with the "esi" value.', E_USER_DEPRECATED); $options['standalone'] = 'esi'; + } elseif (false === $options['standalone']) { + trigger_error('The "false" value for the "standalone" option is deprecated in version 2.2 and replaced with the "default" value.', E_USER_DEPRECATED); + + $options['standalone'] = 'default'; } elseif ('js' === $options['standalone']) { trigger_error('The "js" value for the "standalone" option is deprecated in version 2.2 and replaced with the "hinclude" value.', E_USER_DEPRECATED);