Problem/Motivation
\Drupal\Composer\Plugin\RecipeUnpack\Plugin::unpackOnRequire() uses a backtrace and closures to reach into Composer's installer object. This approach is copied from Symfony Flex - see https://github.com/symfony/flex/blob/2.x/src/Flex.php#L218.
Proposed resolution
Convince and collaborate with Composer maintainers at this issue for the introducing the necessary APIs for replacing the debug_backtrace()
hack from our solution.
Remaining tasks
User interface changes
N/A
Introduced terminology
N/A
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A