Update PHP version in unrelated files #12040
Unanswered
mbrodala
asked this question in
Request Help
Replies: 1 comment 10 replies
-
|
Yes, you probably need to group them |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given that a PHP project defines its used PHP version at the following 3 locations:
composer.jsonvia"php": "~X.Y.0"in"require"(~instead of^is intentional here, see Require PHP (minor) version #11954)DockerfileviaFROM vendor/base-image:X.Y-fpmdocker-compose.ymlviaimage: vendor/base-image:X.Y-apacheIs there a way for Renovate to update the PHP version of all locations in a single update?
composer.json:"require": { - "php": "~7.2.0", + "php": "~7.4.0", "...": "..." }Dockerfile:docker-compose.ymlSo the common change here would be updating the major and minor PHP version. The patch version
.0incomposer.jsoncan be left unchanged.I'm not sure if the
regexmanager can be set up to handle multiple unrelated files with unrelated data sources here.Beta Was this translation helpful? Give feedback.
All reactions