symfony / flex

Composer plugin for Symfony
MIT License
4.17k stars 183 forks source link

Unpacking should unpack "replace" rules #653

Open nicolas-grekas opened 4 years ago

nicolas-grekas commented 4 years ago

If a pack lists things in its "replace" section, unpacking this pack should copy these rules into the "replace" section of the root composer.json.

I think that implementing this requires patching the Unpacker class only.

Anyone up to give it a try?

stof commented 4 years ago

this also applies to provide

mehdibo commented 2 years ago

@nicolas-grekas is this still needed? I can take a look at it