Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293735

Use Composer API in \Drupal\Composer\Plugin\RecipeUnpack\Plugin::unpackOnRequire() instead of backtrace and closures

$
0
0

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


Viewing all articles
Browse latest Browse all 293735

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>