From 374e9f09e4a516b0d801ff7facfa2edd081268df Mon Sep 17 00:00:00 2001 From: kirkbushell Date: Mon, 28 Sep 2015 15:44:35 +0100 Subject: [PATCH] Moved psr-4 loading for tests out of the autoload --- framework/core/composer.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/framework/core/composer.json b/framework/core/composer.json index 44c9c2465..090342d72 100644 --- a/framework/core/composer.json +++ b/framework/core/composer.json @@ -42,13 +42,17 @@ }, "autoload": { "psr-4": { - "Flarum\\": "src/", - "tests\\": "tests/" + "Flarum\\": "src/" }, "files": [ "src/helpers.php" ] }, + "autoload-dev": { + "psr-4": { + "tests\\": "tests/" + } + }, "scripts": { "test": "vendor/bin/phpunit -c tests/phpunit.xml", "style": "phpcs --standard=PSR2 -np src"