Closed nicolas-grekas closed 4 years ago
I don't know how a double-replace works here :thinking:
I don't know how a double-replace works here thinking
yep, @Seldaek WDYT?
The alternative is of course to ship a v2 of composer/package-versions-deprecated that replaces ocramius/package-versions v2.
But I'd better do something else with my OSS time than care about this situation, ideally.
This is really not an API-safe replacement, so strictly speaking adding that replace is wrong and might break things. Aside from that I think it shouldn't cause issues but can't say that I tried this before.
We then need composer/package-versions-deprecated v2. Maybe it could just be a metapackage that requires ocramius/package-version v2 🤔
Or maybe not since that would reintroduce the issue with PHP < 7.4...
composer/package-versions-deprecated
doesn't need a v2. Instead, when a package requirescomposer/package-versions-deprecated
v1, butocramius/package-versions
v2 is also required, it should replace the fork from composer.Makes sense?
/cc @Seldaek FYI