From d6f496ef7ad5692ef1adac49f1c1ddb5dccbf77f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 9 Dec 2022 14:39:57 -0500 Subject: [PATCH] Bump min PHP version to 7.3.0 Fixes dev/core#3991 Update PHP constraints in composer --- CRM/Upgrade/Incremental/General.php | 2 +- composer.json | 4 ++-- composer.lock | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CRM/Upgrade/Incremental/General.php b/CRM/Upgrade/Incremental/General.php index 2c9ae583a8..9f7bf56080 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.2.0'; + const MIN_INSTALL_PHP_VER = '7.3.0'; /** * The minimum recommended MySQL version. diff --git a/composer.json b/composer.json index b0949dd2bf..1372d345e9 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "include-path": ["vendor/tecnickcom"], "config": { "platform": { - "php": "7.2.5" + "php": "7.3.0" }, "allow-plugins": { "civicrm/composer-compile-plugin": true, @@ -50,7 +50,7 @@ } }, "require": { - "php": "~7.2.5 || ~7.3 || ~8", + "php": "~7.3 || ~8", "composer-runtime-api": "~2.0", "cache/integration-tests": "~0.17.0", "dompdf/dompdf" : "~2.0.1", diff --git a/composer.lock b/composer.lock index 8421ce8494..ec5f70d60a 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": "ea291fe135ab61b48ff4ca909c2d85de", + "content-hash": "00cc965a07be34337595dcebf490aa55", "packages": [ { "name": "adrienrn/php-mimetyper", @@ -5737,7 +5737,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~7.2.5 || ~7.3 || ~8", + "php": "~7.3 || ~8", "composer-runtime-api": "~2.0", "ext-intl": "*", "ext-json": "*", @@ -5745,7 +5745,7 @@ }, "platform-dev": [], "platform-overrides": { - "php": "7.2.5" + "php": "7.3.0" }, "plugin-api-version": "2.3.0" } -- 2.25.1