diff options
author | Max <max@nextcloud.com> | 2022-01-13 08:35:44 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-01-13 08:35:51 +0300 |
commit | 836da4d0ff6c478ba6e97774e97ebf03cd29b731 (patch) | |
tree | a623261627ca4493b970cca2160ac3832caf2df2 /composer.json | |
parent | 833fcfbd19279c92cf74f1fda1d0080df74c406b (diff) |
composer: Specify php version so dependabot respects it
Dependabot just came up with an invalid composer.lock for php 7.3.
It picks the lowest version requirement from composer.json
and selects the dependencies based upon that.
Specify our php versions so Dependabot can take them into account.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/composer.json b/composer.json index d2b2b400c..864d4e513 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,9 @@ "email": "jus@bitgrid.net" } ], - "require": {}, + "require": { + "php": "^7.3|^8.0" + }, "scripts": { "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", "cs:check": "php-cs-fixer fix --dry-run --diff", |