From 9590f61229a6e23c4f4ed91d34e3224804f69d40 Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Wed, 27 Jan 2016 00:58:22 +0100 Subject: add doctrine collection support --- composer.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 1b2a513..14c8f16 100644 --- a/composer.json +++ b/composer.json @@ -2,8 +2,10 @@ "name": "snilius/twig-sort-by-field", "description": "A Twig Extension filter to sort an array of entries (objects or arrays) by the specified field", "require-dev": { + "php": ">=5.5.9", "phpunit/phpunit": "~4.5", - "twig/extensions": "~1.2" + "twig/extensions": "~1.2", + "doctrine/collections": "^1.3" }, "license": "Apache-2.0", "authors": [ @@ -14,8 +16,15 @@ ], "autoload": { "psr-4": { - "Snilius\\Twig\\": "src/", + "Snilius\\Twig\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { "Snilius\\Twig\\Tests\\": "test/" + }, + "psr-0": { + "": "test/" } } } -- cgit v1.2.3