From e5be440f06a22b4abedf2352ad16c6253cffe3de Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 19 Apr 2020 19:59:23 +0200 Subject: [PATCH] Composer: Be 2.0 compatible by fixing namespaces --- composer.json | 9 +++++++-- tests/autoload.php | 5 ----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index ecd76a31..2921fe7d 100644 --- a/composer.json +++ b/composer.json @@ -53,11 +53,16 @@ }, "autoload": { "psr-4": { - "Engelsystem\\": "src/", - "Engelsystem\\Migrations\\": "db/migrations" + "Engelsystem\\": "src/" }, + "classmap": ["db/migrations"], "files": [ "src/helpers.php" ] + }, + "autoload-dev": { + "psr-4": { + "Engelsystem\\Test\\": "tests/" + } } } diff --git a/tests/autoload.php b/tests/autoload.php index 62589e16..ba79bad9 100644 --- a/tests/autoload.php +++ b/tests/autoload.php @@ -1,8 +1,3 @@ addPsr4('Engelsystem\\Test\\', __DIR__ . '/');