From: colemanw Date: Fri, 8 Dec 2023 14:13:49 +0000 (-0500) Subject: Bump min PHP version to 7.4.0 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b49e9adb9d1dc73dad81c1387e4129b53ebbec9f;p=civicrm-core.git Bump min PHP version to 7.4.0 See https://lab.civicrm.org/dev/core/-/issues/4812 Last bump was [a year ago](https://github.com/civicrm/civicrm-core/pull/25147). --- diff --git a/CRM/Upgrade/Incremental/General.php b/CRM/Upgrade/Incremental/General.php index 9d87705777..d76f641ccd 100644 --- a/CRM/Upgrade/Incremental/General.php +++ b/CRM/Upgrade/Incremental/General.php @@ -40,7 +40,7 @@ class CRM_Upgrade_Incremental_General { * * @see install/index.php */ - const MIN_INSTALL_PHP_VER = '7.3.0'; + const MIN_INSTALL_PHP_VER = '7.4.0'; /** * The minimum recommended MySQL version. diff --git a/composer.json b/composer.json index c1da1a6a8f..239e196499 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "include-path": ["vendor/tecnickcom"], "config": { "platform": { - "php": "7.3.0" + "php": "7.4.0" }, "allow-plugins": { "civicrm/composer-compile-plugin": true, @@ -50,7 +50,7 @@ } }, "require": { - "php": "~7.3 || ~8", + "php": "~7.4 || ~8", "composer-runtime-api": "~2.0", "dompdf/dompdf" : "~2.0.2", "firebase/php-jwt": ">=3 <7", diff --git a/composer.lock b/composer.lock index 3ec4d7bc05..e278430175 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": "aaf2da4db21436c628b6081c643cdc1e", + "content-hash": "288c4d344661b0b774a177675d8ee65b", "packages": [ { "name": "adrienrn/php-mimetyper", @@ -5506,7 +5506,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~7.3 || ~8", + "php": "~7.4 || ~8", "composer-runtime-api": "~2.0", "ext-intl": "*", "ext-json": "*", @@ -5514,7 +5514,7 @@ }, "platform-dev": [], "platform-overrides": { - "php": "7.3.0" + "php": "7.4.0" }, "plugin-api-version": "2.3.0" }