From e2620e1cf4cb44b7f26315d3e09419ff5d05696b Mon Sep 17 00:00:00 2001 From: Hari K T Date: Tue, 22 Dec 2015 18:18:59 +0530 Subject: [PATCH] Zend filter is a hard dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When calling `PhpRenderer` it cannot call `render` method for the https://github.com/zendframework/zend-view/blob/develop/src/Renderer/PhpRenderer.php#L519 have dependency on the `Filter` . The constructor doesn’t specifically mentions the Filter class is needed and throws error . https://github.com/zendframework/zend-view/blob/develop/src/Renderer/PhpRenderer.php#L145 . --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 72925492..8067929b 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,7 @@ "require": { "php": ">=5.5", "zendframework/zend-eventmanager": "dev-develop as 2.7.0", + "zendframework/zend-filter": "~2.5", "zendframework/zend-loader": "~2.5", "zendframework/zend-stdlib": "~2.5" }, @@ -25,7 +26,6 @@ "zendframework/zend-console": "~2.5", "zendframework/zend-escaper": "~2.5", "zendframework/zend-feed": "~2.5", - "zendframework/zend-filter": "~2.5", "zendframework/zend-http": "~2.5", "zendframework/zend-i18n": "~2.5", "zendframework/zend-json": "~2.5",