mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Always prepend autoloaders to avoid tools (i.e. phpunit) taking precedence over the project autoloader
This commit is contained in:
parent
1356021cb9
commit
c80cb76b9b
4 changed files with 6 additions and 6 deletions
|
@ -36,7 +36,7 @@ class ComposerAutoloaderInitFilesAutoload
|
|||
$loader->addClassMap($classMap);
|
||||
}
|
||||
|
||||
$loader->register();
|
||||
$loader->register(true);
|
||||
|
||||
require $vendorDir . '/a/a/test.php';
|
||||
require $vendorDir . '/b/b/test2.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue