Composer: Be 2.0 compatible by fixing namespaces

This commit is contained in:
Igor Scheller 2020-04-19 19:59:23 +02:00
parent 82e28cba87
commit e5be440f06
2 changed files with 7 additions and 7 deletions

View File

@ -53,11 +53,16 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Engelsystem\\": "src/", "Engelsystem\\": "src/"
"Engelsystem\\Migrations\\": "db/migrations"
}, },
"classmap": ["db/migrations"],
"files": [ "files": [
"src/helpers.php" "src/helpers.php"
] ]
},
"autoload-dev": {
"psr-4": {
"Engelsystem\\Test\\": "tests/"
}
} }
} }

View File

@ -1,8 +1,3 @@
<?php <?php
use Composer\Autoload\ClassLoader;
require_once __DIR__ . '/../includes/autoload.php'; require_once __DIR__ . '/../includes/autoload.php';
/** @var ClassLoader $loader */
$loader->addPsr4('Engelsystem\\Test\\', __DIR__ . '/');