summaryrefslogtreecommitdiffstats
path: root/apps/testing/composer
diff options
context:
space:
mode:
Diffstat (limited to 'apps/testing/composer')
-rw-r--r--apps/testing/composer/composer.json2
-rw-r--r--apps/testing/composer/composer/autoload_real.php11
2 files changed, 2 insertions, 11 deletions
diff --git a/apps/testing/composer/composer.json b/apps/testing/composer/composer.json
index 4cee66ac094..769aaf70fd7 100644
--- a/apps/testing/composer/composer.json
+++ b/apps/testing/composer/composer.json
@@ -2,7 +2,7 @@
"config" : {
"vendor-dir": ".",
"optimize-autoloader": true,
- "authorative-autoloader": true,
+ "classmap-authoritative": true,
"autoloader-suffix": "Testing"
},
"autoload" : {
diff --git a/apps/testing/composer/composer/autoload_real.php b/apps/testing/composer/composer/autoload_real.php
index 71369dc8a05..611d8e41c95 100644
--- a/apps/testing/composer/composer/autoload_real.php
+++ b/apps/testing/composer/composer/autoload_real.php
@@ -29,22 +29,13 @@ class ComposerAutoloaderInitTesting
call_user_func(\Composer\Autoload\ComposerStaticInitTesting::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;