Set minimum requirements to PHP 7.3.6

This commit is contained in:
Andy Miller
2020-11-13 16:01:26 -07:00
parent 63207d370b
commit 54fd54d3f0
7 changed files with 8 additions and 9 deletions

View File

@@ -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'

View File

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

View File

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

View File

@@ -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": [

View File

@@ -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 <strong>PHP %s</strong> to run.', $ver, $req));

View File

@@ -13,7 +13,7 @@ define('GRAV_TESTING', true);
define('DS', '/');
if (!defined('GRAV_PHP_MIN')) {
define('GRAV_PHP_MIN', '7.2.5');
define('GRAV_PHP_MIN', '7.3.6');
}
// Directories and Paths

View File

@@ -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'
]
],