From 69c465d96fc6c3a38365617256af274229e5a559 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 20 Mar 2017 14:03:02 +0100 Subject: [PATCH] Autoload tests only in the dev environment Tests don't need to be registered in the production autoloader. --- composer.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 495ce44..2be16ab 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,11 @@ }, "autoload": { "psr-4": { - "App\\": "src/", + "App\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { "App\\Tests\\": "tests/" } },