From b8596b4ca101b276517dff6b777724444850692a Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Wed, 5 Aug 2015 11:24:03 +0200 Subject: [PATCH] Improve the composer.json - allow both stable and dev versions of Gaufrette to make the usage of the bundle easier - switch autoloading to PSR-4 rather than using the legacy "target-dir" setting - change the PHPUnit requirement to use maintained versions --- composer.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 29521b9..f04546e 100644 --- a/composer.json +++ b/composer.json @@ -17,16 +17,16 @@ ], "require": { "symfony/framework-bundle": "2.*", - "knplabs/gaufrette": "0.2.*@dev" + "knplabs/gaufrette": "~0.1.7|0.2.*@dev" }, "require-dev": { "symfony/yaml": "2.*", "symfony/console": "2.*", - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "~4.2" }, "autoload": { - "psr-0": { - "Knp\\Bundle\\GaufretteBundle": "" + "psr-4": { + "Knp\\Bundle\\GaufretteBundle\\": "" } }, "extra": { @@ -36,6 +36,5 @@ }, "config": { "bin-dir": "bin" - }, - "target-dir": "Knp/Bundle/GaufretteBundle" + } }