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": {
"psr-4": {
"Engelsystem\\": "src/",
"Engelsystem\\Migrations\\": "db/migrations"
"Engelsystem\\": "src/"
},
"classmap": ["db/migrations"],
"files": [
"src/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"Engelsystem\\Test\\": "tests/"
}
}
}

View File

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