Skip to content
Snippets Groups Projects
Commit 9ed2caae authored by catch's avatar catch
Browse files

Issue #3106075 by Krzysztof Domański, heddn, Gábor Hojtsy, xjm, catch,...

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
parent 2dfe5f52
No related branches found
No related tags found
No related merge requests found
Showing
with 30 additions and 27 deletions
......@@ -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": {
......
......@@ -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": "*"
......
......@@ -14,7 +14,7 @@
"class": "Drupal\\Composer\\Plugin\\VendorHardening\\VendorHardeningPlugin"
},
"require": {
"php": ">=7.2.3",
"php": ">=7.3.0",
"composer-plugin-api": "^1.1"
}
}
......@@ -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
......
......@@ -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",
......
......@@ -27,7 +27,7 @@
* @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 @@
* @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.
......
......@@ -25,8 +25,8 @@
// 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;
}
......
......@@ -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",
......
......@@ -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": {
......
......@@ -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": {
......
......@@ -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": {
......
......@@ -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": {
......
......@@ -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": {
......
......@@ -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": {
......
......@@ -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"
},
......
......@@ -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"
},
......
......@@ -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": {
......
......@@ -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": {
......
......@@ -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": {
......
......@@ -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": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment