aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/composer/composer.json2
-rw-r--r--apps/federation/composer/composer/autoload_real.php11
2 files changed, 2 insertions, 11 deletions
diff --git a/apps/federation/composer/composer.json b/apps/federation/composer/composer.json
index 2c9a66b242c..affe383c1c8 100644
--- a/apps/federation/composer/composer.json
+++ b/apps/federation/composer/composer.json
@@ -2,7 +2,7 @@
"config" : {
"vendor-dir": ".",
"optimize-autoloader": true,
- "authorative-autoloader": true,
+ "classmap-authoritative": true,
"autoloader-suffix": "Federation"
},
"autoload" : {
diff --git a/apps/federation/composer/composer/autoload_real.php b/apps/federation/composer/composer/autoload_real.php
index f2906437fdb..39f8fb171dc 100644
--- a/apps/federation/composer/composer/autoload_real.php
+++ b/apps/federation/composer/composer/autoload_real.php
@@ -29,22 +29,13 @@ class ComposerAutoloaderInitFederation
call_user_func(\Composer\Autoload\ComposerStaticInitFederation::getInitializer($loader));
} else {
- $map = require __DIR__ . '/autoload_namespaces.php';
- foreach ($map as $namespace => $path) {
- $loader->set($namespace, $path);
- }
-
- $map = require __DIR__ . '/autoload_psr4.php';
- foreach ($map as $namespace => $path) {
- $loader->setPsr4($namespace, $path);
- }
-
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
}
+ $loader->setClassMapAuthoritative(true);
$loader->register(true);
return $loader;