-
Question is in the title. For example I would like to apply a patch only is the user is running php 8.4 or above. |
Beta Was this translation helpful? Give feedback.
Answered by
cweagans
Oct 30, 2024
Replies: 1 comment 1 reply
-
There is not a way to do that. You can write a patch resolver plugin to make that work, but a more straightforward option might be to change the patch so that whatever depends on a higher php version is conditionally invoked at runtime ( |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tenzap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is not a way to do that. You can write a patch resolver plugin to make that work, but a more straightforward option might be to change the patch so that whatever depends on a higher php version is conditionally invoked at runtime (
if (version_compare(...)) { ... }
).