Drop PHP7.3

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2021-10-18 09:21:04 +02:00 committed by Côme Chilliet
parent e85ea0afaf
commit 4259391162
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
7 changed files with 10 additions and 10 deletions

View File

@ -4,7 +4,7 @@
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.3"
"php": "7.4"
},
"allow-plugins": {
"bamarni/composer-bin-plugin": true

4
composer.lock generated
View File

@ -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"
}

View File

@ -25,10 +25,10 @@ declare(strict_types=1);
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
// 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<br/>';
echo 'This version of Nextcloud requires at least PHP 7.4<br/>';
echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
exit(1);
}

View File

@ -1,7 +1,7 @@
{
"config": {
"platform": {
"php": "7.3"
"php": "7.4"
}
},
"require": {

View File

@ -2155,7 +2155,7 @@
"platform": [],
"platform-dev": [],
"platform-overrides": {
"php": "7.3"
"php": "7.4"
},
"plugin-api-version": "2.2.0"
}

View File

@ -4,7 +4,7 @@
},
"config": {
"platform": {
"php": "7.3"
"php": "7.4"
},
"allow-plugins": {
"composer/package-versions-deprecated": true

View File

@ -2137,7 +2137,7 @@
"platform": [],
"platform-dev": [],
"platform-overrides": {
"php": "7.3"
"php": "7.4"
},
"plugin-api-version": "2.2.0"
}