Fixed composer autoloader + autolader.php

This commit is contained in:
xdrm-brackets 2017-09-20 12:46:57 +02:00
parent c0c26e6cb9
commit 7943e57054
2 changed files with 12 additions and 3 deletions

View File

@ -102,8 +102,8 @@
}
// On definit l'autoloader comme autoloader (obvious)
spl_autoload_register('autoloader', false, true);
// // On definit l'autoloader comme autoloader (obvious)
// spl_autoload_register('autoloader', false, true);

View File

@ -12,9 +12,18 @@
"phpro/grumphp": "^0.11.5",
"jakub-onderka/php-parallel-lint": "^0.9.2",
"phpunit/phpunit": "^6.1",
"crysalead/kahlan": "^2.5"
"kahlan/kahlan": "^3.1"
},
"autoload": {
"psr-4": {
"api\\": "build/api",
"database\\": "build/database",
"error\\": "build/error",
"http\\": "build/http",
"orm\\": "build/orm",
"router\\": "build/router",
"viewer\\": "build/viewer"
},
"files": ["autoloader.php", "lib/vendor/autoload.php"]
}
}