Skip to content

Commit

Permalink
Set minimum requirements to PHP 7.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Nov 13, 2020
1 parent 63207d3 commit 54fd54d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion UPGRADE-1.7.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*",
Expand Down Expand Up @@ -80,7 +80,7 @@
"config": {
"apcu-autoloader": true,
"platform": {
"php": "7.2.5"
"php": "7.3.6"
}
},
"repositories": [
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion system/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions system/src/Grav/Installer/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
],
Expand Down

0 comments on commit 54fd54d

Please sign in to comment.