Skip to content

Commit

Permalink
Update mention of contraints.php
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Jan 20, 2023
1 parent bdb3c47 commit 2a0a211
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

0 comments on commit 2a0a211

Please sign in to comment.