diff --git a/CRM/Upgrade/Form.php b/CRM/Upgrade/Form.php index ab3de5688f6b..176b0db558ff 100644 --- a/CRM/Upgrade/Form.php +++ b/CRM/Upgrade/Form.php @@ -38,7 +38,7 @@ class CRM_Upgrade_Form extends CRM_Core_Form { * * Tip: Keep in sync with composer.json ("config => platform => php") */ - const MINIMUM_PHP_VERSION = '7.0.0'; + const MINIMUM_PHP_VERSION = '7.1.0'; /** * @var \CRM_Core_Config diff --git a/CRM/Upgrade/Incremental/General.php b/CRM/Upgrade/Incremental/General.php index 8f5c045f61b5..440e594079ec 100644 --- a/CRM/Upgrade/Incremental/General.php +++ b/CRM/Upgrade/Incremental/General.php @@ -37,7 +37,7 @@ class CRM_Upgrade_Incremental_General { * * @see install/index.php */ - const MIN_INSTALL_PHP_VER = '7.0'; + const MIN_INSTALL_PHP_VER = '7.1'; /** * Compute any messages which should be displayed before upgrade. diff --git a/composer.json b/composer.json index 48d84e47888d..d1c33e35dd6c 100644 --- a/composer.json +++ b/composer.json @@ -38,11 +38,11 @@ "include-path": ["vendor/tecnickcom"], "config": { "platform": { - "php": "7.0.10" + "php": "7.1" } }, "require": { - "php": "~7.0", + "php": "~7.1", "cache/integration-tests": "~0.16.0", "dompdf/dompdf" : "0.8.*", "electrolinux/phpquery": "^0.9.6", diff --git a/composer.lock b/composer.lock index b3f0ad866153..e11bb4f3e874 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": "d3e774ecb53f47ad1c02f3c570d4aabb", + "content-hash": "4461b6a9f42757ed76cbca218261acc3", "packages": [ { "name": "cache/integration-tests", @@ -2665,10 +2665,10 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "~7.0" + "php": "~7.1" }, "platform-dev": [], "platform-overrides": { - "php": "7.0.10" + "php": "7.1" } }