From 2a0a211e0bb12a47ab9faf49182af979cb3b6c42 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Fri, 20 Jan 2023 13:26:05 +0200 Subject: [PATCH] Update mention of contraints.php --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 911b2c6..e018340 100644 --- a/README.md +++ b/README.md @@ -67,16 +67,16 @@ CON: `composer validate` would give a general warning: - require.php : exact version constraints (8.1) should be avoided if the package follows semantic versioning ``` -### (In the future) Renovate config and constraints.php +### Renovate config and constraints.php Using `constraints.php` in Renovate config: https://docs.renovatebot.com/configuration-options/#constraints ``` json { "constraints": { - "php": "8.1" + "php": "8.1.14" } } ``` -Obvious CON: this does not exist yet. +CON: currently you cannot use minot version e.g. `8.1` but you need to use patch version `8.1.14`.