Composer: Be 2.0 compatible by fixing namespaces

main
Igor Scheller 5 years ago
parent 82e28cba87
commit e5be440f06

@ -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/"
}
}
}

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

Loading…
Cancel
Save