drush
drush copied to clipboard
Remove dual autoloader feature from global Drush installs
Do not allow Drush to combine autoload files from a non-site-local Drupal; only bootstrap Drupal sites with a shared vendor.
Something I did on the train for Drush 12.
This feature was untested. Removing it did not break anything else.
Ready for review, but should only be merged into a 12.x branch.
Reminder that there is a bit of Drupal autoloader code in https://github.com/drush-ops/drush/blob/d6d05512b32ea4dd4983e40b0e0a6e30236050f2/src/Commands/core/CacheCommands.php#L220
Continued in #5521 (12.x version)