diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e008a599..e98dd1825 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## mm/dd/2020 1. [](#new) - * Set minimum requirements to **PHP 7.2.5** + * Set minimum requirements to **PHP 7.3.6** * Added `FlexDirectoryInterface` interface * Renamed `PageCollectionInterface::nonModular()` into `PageCollectionInterface::pages()` and deprecated the old method * Renamed `PageCollectionInterface::modular()` into `PageCollectionInterface::modules()` and deprecated the old method' diff --git a/README.md b/README.md index 03f4af104..3ca908fd6 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The underlying architecture of Grav is designed to use well-established and _bes # Requirements -- PHP 7.2.5 or higher. Check the [required modules list](https://learn.getgrav.org/basics/requirements#php-requirements) +- PHP 7.3.6 or higher. Check the [required modules list](https://learn.getgrav.org/basics/requirements#php-requirements) - Check the [Apache](https://learn.getgrav.org/basics/requirements#apache-requirements) or [IIS](https://learn.getgrav.org/basics/requirements#iis-requirements) requirements # QuickStart diff --git a/UPGRADE-1.7.md b/UPGRADE-1.7.md index 7409b2d6b..6bdd14635 100644 --- a/UPGRADE-1.7.md +++ b/UPGRADE-1.7.md @@ -1,6 +1,6 @@ # UPGRADE FROM 1.6 TO 1.7.RC17 -Grav 1.7 REQUIRES PHP 7.2.5 +Grav 1.7 REQUIRES PHP 7.3.6 ## ADMINISTRATORS diff --git a/composer.json b/composer.json index daa6fb9de..a055e5aa3 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "homepage": "https://getgrav.org", "license": "MIT", "require": { - "php": "^7.2.5 || ^8.0", + "php": "^7.3.6 || ^8.0", "ext-json": "*", "ext-openssl": "*", "ext-curl": "*", @@ -80,7 +80,7 @@ "config": { "apcu-autoloader": true, "platform": { - "php": "7.2.5" + "php": "7.3.6" } }, "repositories": [ diff --git a/index.php b/index.php index 285e50671..1737a24e8 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ namespace Grav; \define('GRAV_REQUEST_TIME', microtime(true)); -\define('GRAV_PHP_MIN', '7.2.5'); +\define('GRAV_PHP_MIN', '7.3.6'); if (version_compare($ver = PHP_VERSION, $req = GRAV_PHP_MIN, '<')) { die(sprintf('You are running PHP %s, but Grav needs at least PHP %s to run.', $ver, $req)); diff --git a/system/defines.php b/system/defines.php index e2b26a3cb..54d646ef6 100644 --- a/system/defines.php +++ b/system/defines.php @@ -13,7 +13,7 @@ define('DS', '/'); if (!defined('GRAV_PHP_MIN')) { - define('GRAV_PHP_MIN', '7.2.5'); + define('GRAV_PHP_MIN', '7.3.6'); } // Directories and Paths diff --git a/system/src/Grav/Installer/Install.php b/system/src/Grav/Installer/Install.php index 76ff0f3af..7d4ca4eea 100644 --- a/system/src/Grav/Installer/Install.php +++ b/system/src/Grav/Installer/Install.php @@ -31,8 +31,7 @@ class Install 'name' => 'PHP', 'versions' => [ '7.4' => '7.4.0', - '7.3' => '7.3.1', - '7.2' => '7.2.5', + '7.3' => '7.3.6', '' => '7.4.12' ] ],