From 4259391162c095fbeb7fd4680097b17d21ae3457 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 18 Oct 2021 09:21:04 +0200 Subject: [PATCH] Drop PHP7.3 Signed-off-by: Christoph Wurst --- composer.json | 2 +- composer.lock | 4 ++-- lib/versioncheck.php | 6 +++--- vendor-bin/cs-fixer/composer.json | 2 +- vendor-bin/cs-fixer/composer.lock | 2 +- vendor-bin/psalm/composer.json | 2 +- vendor-bin/psalm/composer.lock | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 4e191745592..75ea1c45e86 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "optimize-autoloader": true, "sort-packages": true, "platform": { - "php": "7.3" + "php": "7.4" }, "allow-plugins": { "bamarni/composer-bin-plugin": true diff --git a/composer.lock b/composer.lock index 2a97ac5ad88..3ba083dbed0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "eb074699155bba86b710218a07fe659b", + "content-hash": "8333c8a239fe5ccec285dfbccc17cca4", "packages": [], "packages-dev": [ { @@ -74,7 +74,7 @@ }, "platform-dev": [], "platform-overrides": { - "php": "7.3" + "php": "7.4" }, "plugin-api-version": "2.1.0" } diff --git a/lib/versioncheck.php b/lib/versioncheck.php index 3e840ff5b46..8477442935a 100644 --- a/lib/versioncheck.php +++ b/lib/versioncheck.php @@ -25,10 +25,10 @@ declare(strict_types=1); * along with this program. If not, see . * */ -// Show warning if a PHP version below 7.3 is used, -if (PHP_VERSION_ID < 70300) { +// Show warning if a PHP version below 7.4 is used, +if (PHP_VERSION_ID < 70400) { http_response_code(500); - echo 'This version of Nextcloud requires at least PHP 7.3
'; + echo 'This version of Nextcloud requires at least PHP 7.4
'; echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; exit(1); } diff --git a/vendor-bin/cs-fixer/composer.json b/vendor-bin/cs-fixer/composer.json index 958c3246abb..de598569c39 100644 --- a/vendor-bin/cs-fixer/composer.json +++ b/vendor-bin/cs-fixer/composer.json @@ -1,7 +1,7 @@ { "config": { "platform": { - "php": "7.3" + "php": "7.4" } }, "require": { diff --git a/vendor-bin/cs-fixer/composer.lock b/vendor-bin/cs-fixer/composer.lock index ec188f867c3..dc81cb08e05 100644 --- a/vendor-bin/cs-fixer/composer.lock +++ b/vendor-bin/cs-fixer/composer.lock @@ -2155,7 +2155,7 @@ "platform": [], "platform-dev": [], "platform-overrides": { - "php": "7.3" + "php": "7.4" }, "plugin-api-version": "2.2.0" } diff --git a/vendor-bin/psalm/composer.json b/vendor-bin/psalm/composer.json index e03c935cb99..1eaba74d07a 100644 --- a/vendor-bin/psalm/composer.json +++ b/vendor-bin/psalm/composer.json @@ -4,7 +4,7 @@ }, "config": { "platform": { - "php": "7.3" + "php": "7.4" }, "allow-plugins": { "composer/package-versions-deprecated": true diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock index faa325c5601..25e514cc708 100644 --- a/vendor-bin/psalm/composer.lock +++ b/vendor-bin/psalm/composer.lock @@ -2137,7 +2137,7 @@ "platform": [], "platform-dev": [], "platform-overrides": { - "php": "7.3" + "php": "7.4" }, "plugin-api-version": "2.2.0" }