vaimo / composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and composer command for testing/troubleshooting patches.
MIT License
279 stars 40 forks source link

Patches dependency of dependency #50

Open 4n70w4 opened 4 years ago

4n70w4 commented 4 years ago
Processing patches configuration
Nothing to patch

If I need to patch a dependency of dependency, I need to pull this dependency into my own composer.json.

This is not convenient and not correct.

4n70w4 commented 4 years ago

Okay. Patches for dependency of dependency applied after:

composer patch:redo -v

Probably some kind problem of app state.

allanpaiste commented 4 years ago

Hi,

Was the plugin always on the same version when this happened? And if so, what versions were/are you using? Would help to create a test scenario :)

4n70w4 commented 4 years ago

Yes, the version is always the same current 4.20.2.

I also installed and rolled back patches manually. Could this confuse your patch mechanics?