Issue #3106075 by Krzysztof Domański, heddn, Gábor Hojtsy, xjm, catch, mondrake, larowlan, greg.1.anderson: Bump minimum PHP for Drupal 9 to PHP 7.3

merge-requests/2419/head
catch 2020-01-21 11:05:11 +00:00
parent 2dfe5f52c2
commit 9ed2caaeaa
32 changed files with 42 additions and 39 deletions

11
composer.lock generated
View File

@ -456,7 +456,7 @@
"dist": {
"type": "path",
"url": "core",
"reference": "fb43f60ee811f200a5db702bcfcab309b2e684f4"
"reference": "b092a4793dbb192acafca8b27ce6ab418214fb01"
},
"require": {
"asm89/stack-cors": "^1.1",
@ -482,7 +482,7 @@
"laminas/laminas-feed": "^2.12",
"masterminds/html5": "^2.1",
"pear/archive_tar": "^1.4.9",
"php": ">=7.2.3",
"php": ">=7.3",
"psr/log": "^1.0",
"stack/builder": "^1.0",
"symfony-cmf/routing": "^2.1",
@ -717,11 +717,11 @@
"dist": {
"type": "path",
"url": "composer/Plugin/VendorHardening",
"reference": "d6a4c49651f381791d9667354205c8ecd331ca2d"
"reference": "0b015340af38f90df46923a934d0b22026134f18"
},
"require": {
"composer-plugin-api": "^1.1",
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"type": "composer-plugin",
"extra": {
@ -4041,6 +4041,9 @@
"ext-zip": "Enabling the zip extension allows you to unzip archives",
"ext-zlib": "Allow gzip compression of HTTP requests"
},
"bin": [
"bin/composer"
],
"type": "library",
"extra": {
"branch-alias": {

View File

@ -7,7 +7,7 @@
"license": "GPL-2.0-or-later",
"require": {
"composer-plugin-api": "^1.0.0",
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"conflict": {
"drupal-composer/drupal-scaffold": "*"

View File

@ -14,7 +14,7 @@
"class": "Drupal\\Composer\\Plugin\\VendorHardening\\VendorHardeningPlugin"
},
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"composer-plugin-api": "^1.1"
}
}

View File

@ -15,7 +15,7 @@ QUICKSTART
----------------------
Prerequisites:
- PHP 7.2.3 (or greater) (https://php.net).
- PHP 7.3.0 (or greater) (https://php.net).
In the instructions below, replace the version x.y.z with the specific version
you wish to download. Example: 8.6.0.zip. You can find the latest stable version
@ -48,8 +48,8 @@ Drupal requires:
- A web server with PHP support, for example:
- Apache 2.0 (or greater) (http://httpd.apache.org/).
- Nginx 1.1 (or greater) (http://nginx.com/).
- PHP 7.0.8 (or greater) (http://php.net/). For better security support it is
recommended to update to at least 7.2.17.
- PHP 7.3.0 (or greater) (http://php.net/). For better security support it is
recommended to update to at least 7.3.13.
- One of the following databases:
- MySQL 5.5.3 (or greater) (http://www.mysql.com/).
- MariaDB 5.5.20 (or greater) (https://mariadb.org/). MariaDB is a fully

View File

@ -17,7 +17,7 @@
"ext-SPL": "*",
"ext-tokenizer": "*",
"ext-xml": "*",
"php": ">=7.2.3",
"php": ">=7.3",
"symfony/class-loader": "~3.4.0",
"symfony/console": "^4.4",
"symfony/dependency-injection": "^4.4",

View File

@ -27,7 +27,7 @@ use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
* @todo Move this to an appropriate autoloadable class. See
* https://www.drupal.org/project/drupal/issues/2908079
*/
const DRUPAL_MINIMUM_PHP = '7.2.3';
const DRUPAL_MINIMUM_PHP = '7.3.0';
/**
* Minimum supported version of PHP.
@ -41,7 +41,7 @@ const DRUPAL_MINIMUM_PHP = '7.2.3';
* @todo Move this to an appropriate autoloadable class. See
* https://www.drupal.org/project/drupal/issues/2908079
*/
const DRUPAL_MINIMUM_SUPPORTED_PHP = '7.2.3';
const DRUPAL_MINIMUM_SUPPORTED_PHP = '7.3.0';
/**
* Minimum recommended version of PHP.

View File

@ -25,8 +25,8 @@ define('MAINTENANCE_MODE', 'install');
// The minimum version is specified explicitly, as DRUPAL_MINIMUM_PHP is not
// yet available. It is defined in bootstrap.inc, but it is not possible to
// load that file yet as it would cause a fatal error on older versions of PHP.
if (version_compare(PHP_VERSION, '7.2.3') < 0) {
print 'Your PHP installation is too old. Drupal requires at least PHP 7.2.3. See the <a href="https://www.drupal.org/requirements">system requirements</a> page for more information.';
if (version_compare(PHP_VERSION, '7.3.0') < 0) {
print 'Your PHP installation is too old. Drupal requires at least PHP 7.3.0. See the <a href="https://www.drupal.org/requirements">system requirements</a> page for more information.';
exit;
}

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"doctrine/annotations": "^1.4",
"drupal/core-file-cache": "^8.8",
"drupal/core-plugin": "^8.8",

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"laminas/laminas-feed": "^2.12"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"doctrine/reflection": "^1.1"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"drupal/core-utility": "^8.8"
},
"autoload": {

View File

@ -11,7 +11,7 @@
"source": "https://www.drupal.org/project/drupal/git-instructions"
},
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"symfony/dependency-injection": "^4.4"
},
"suggest": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"drupal/core-file-cache": "^8.8",
"drupal/core-serialization": "^8.8"
},

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"symfony/dependency-injection": "^4.4",
"symfony/event-dispatcher": "^4.4"
},

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -9,7 +9,7 @@
"source": "https://www.drupal.org/project/drupal/git-instructions"
},
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"drupal/core-utility": "^8.8"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"symfony/http-foundation": "^4.4"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"drupal/core-file-security": "^8.8"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"symfony/validator": "^4.4"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"drupal/core-utility": "^8.8"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"symfony/yaml": "^4.4"
},
"autoload": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"drupal/core-render": "^8.8"
},
"autoload": {

View File

@ -9,7 +9,7 @@
"source": "https://www.drupal.org/project/drupal/git-instructions"
},
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -5,7 +5,7 @@
"homepage": "https://www.drupal.org/project/drupal",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2.3"
"php": ">=7.3.0"
},
"autoload": {
"psr-4": {

View File

@ -261,5 +261,5 @@ class TestThemeEngineExtensionList extends ThemeEngineExtensionList {
}
if (!defined('DRUPAL_MINIMUM_PHP')) {
define('DRUPAL_MINIMUM_PHP', '7.2.3');
define('DRUPAL_MINIMUM_PHP', '7.3.0');
}

View File

@ -147,5 +147,5 @@ class StubThemeHandler extends ThemeHandler {
}
if (!defined('DRUPAL_MINIMUM_PHP')) {
define('DRUPAL_MINIMUM_PHP', '7.2.3');
define('DRUPAL_MINIMUM_PHP', '7.3.0');
}