From e88526b69856b65d8afc2b17fdd2ec4dba5fe9c1 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Thu, 13 Jun 2019 11:53:16 -0700 Subject: [PATCH] Bump PHP version requirement to 7.2.0+ Bug: T216165 Bug: T216166 Change-Id: I99e45c2a8fd1512a76a42ce978cb96f39ee2456e --- .travis.yml | 2 -- INSTALL | 2 +- RELEASE-NOTES-1.34 | 4 ++-- includes/PHPVersionCheck.php | 4 ++-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index d5607f1609..8dbc5f203c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,8 +26,6 @@ matrix: include: - php: 7.3 - php: 7.2 - - php: 7.1 - - php: 7 services: - mysql diff --git a/INSTALL b/INSTALL index 07dd9c3090..0359166d22 100644 --- a/INSTALL +++ b/INSTALL @@ -7,7 +7,7 @@ Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki Required software as of MediaWiki 1.34.0: -* Web server with PHP 7.0.13 or higher, plus the following extesnsions: +* Web server with PHP 7.2.0 or higher, plus the following extesnsions: ** ctype ** dom ** fileinfo diff --git a/RELEASE-NOTES-1.34 b/RELEASE-NOTES-1.34 index d2dbce11fc..ea5ecd087f 100644 --- a/RELEASE-NOTES-1.34 +++ b/RELEASE-NOTES-1.34 @@ -570,8 +570,8 @@ because of Phabricator reports. * … == Compatibility == -MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is -supported, it is generally advised to use PHP 7.0.13 or later for long term +MediaWiki 1.34 requires PHP 7.2.0 or later. Although HHVM 3.18.5 or later is +supported, it is generally advised to use PHP 7.2.0 or later for long term support. It also requires the following PHP extensions: * ctype diff --git a/includes/PHPVersionCheck.php b/includes/PHPVersionCheck.php index bf138c4b1e..e726729481 100644 --- a/includes/PHPVersionCheck.php +++ b/includes/PHPVersionCheck.php @@ -108,8 +108,8 @@ class PHPVersionCheck { 'implementation' => 'PHP', 'version' => PHP_VERSION, 'vendor' => 'the PHP Group', - 'upstreamSupported' => '5.6.0', - 'minSupported' => '7.0.13', + 'upstreamSupported' => '7.1.0', + 'minSupported' => '7.2.0', 'upgradeURL' => 'https://www.php.net/downloads.php', ); } -- 2.20.1