From fe2f007fdedf7041e4598b9448b2edcfa05fbc5e Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 11 Aug 2014 08:58:04 +0200 Subject: [PATCH] fix dependencies on HttpFoundation component The closeOutputBuffers() method was added to the Response class of the HttpFoundation in Symfony 2.5. Therefore, parts that are calling this method must depend on symfony/http-foundation 2.5 or higher. --- src/Symfony/Bundle/TwigBundle/composer.json | 1 + src/Symfony/Component/HttpKernel/composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/TwigBundle/composer.json b/src/Symfony/Bundle/TwigBundle/composer.json index 3dd1a7218f..6c007e2fd9 100644 --- a/src/Symfony/Bundle/TwigBundle/composer.json +++ b/src/Symfony/Bundle/TwigBundle/composer.json @@ -18,6 +18,7 @@ "require": { "php": ">=5.3.3", "symfony/twig-bridge": "~2.5", + "symfony/http-foundation": "~2.5", "symfony/http-kernel": "~2.1" }, "require-dev": { diff --git a/src/Symfony/Component/HttpKernel/composer.json b/src/Symfony/Component/HttpKernel/composer.json index 638a48b516..e744113891 100644 --- a/src/Symfony/Component/HttpKernel/composer.json +++ b/src/Symfony/Component/HttpKernel/composer.json @@ -18,7 +18,7 @@ "require": { "php": ">=5.3.3", "symfony/event-dispatcher": "~2.5", - "symfony/http-foundation": "~2.4", + "symfony/http-foundation": "~2.5", "symfony/debug": "~2.5", "psr/log": "~1.0" },