diff --git a/renovate.json b/renovate.json index 4742e348..e40678b2 100644 --- a/renovate.json +++ b/renovate.json @@ -7,6 +7,31 @@ { "matchDepTypes": ["require"], "rangeStrategy": "bump" + }, + { + "matchPackageNames": ["php"], + "rangeStrategy": "replace", + "groupName": "PHP" + }, + { + "matchFiles": [".platform.app.yaml"], + "matchPackageNames": ["php/php-src"], + "extends": [":automergeDisabled", ":automergePr", ":label(Awaiting Maintainer Response)"], + "groupName": "PHP", + "commitMessageTopic": "platform.sh PHP", + "prBodyNotes": [ + ":warning: PHP version might not be available at platform.sh. See https://docs.platform.sh/languages/php.html#supported-versions" + ] + } + ], + "regexManagers": [ + { + "fileMatch": ["^.platform.app.yaml$"], + "matchStrings": ["\\ntype: php:(?.*)\\n"], + "depNameTemplate": "php/php-src", + "datasourceTemplate": "github-tags", + "extractVersionTemplate": "^php-(?\\d+\\.\\d+)\\.\\d+$", + "versioningTemplate": "semver-coerced" } ] }