Unverified Commit be5fec95 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3264819 by xjm: Require PHP 8.1 for Drupal 10.0.0-alpha2

parent 39726b6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
    "config": {
        "preferred-install": "dist",
        "platform": {
            "php": "8.0.2"
            "php": "8.1.0"
        },
        "allow-plugins": {
            "composer/installers": true,
+4 −4
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
        "This file is @generated automatically"
    ],
    "content-hash": "37d8d1300ab9c7bcc69ee336d9aa26d7",
    "content-hash": "7b8f0c4295ab74f6a69a3db347cbbcbb",
    "packages": [
        {
            "name": "asm89/stack-cors",
@@ -448,7 +448,7 @@
            "dist": {
                "type": "path",
                "url": "core",
                "reference": "350f2472b9ca31ba8c124c757bc4cfd7f8bebcd2"
                "reference": "f5ee474025903300feff11f05e763de7914782b0"
            },
            "require": {
                "asm89/stack-cors": "^2.0.2",
@@ -472,7 +472,7 @@
                "laminas/laminas-feed": "^2.12",
                "masterminds/html5": "^2.1",
                "pear/archive_tar": "^1.4.14",
                "php": ">=8.0.2",
                "php": ">=8.1.0",
                "psr/log": "^1.0",
                "symfony/console": "^5.4",
                "symfony/dependency-injection": "^5.4",
@@ -8474,7 +8474,7 @@
    "platform": [],
    "platform-dev": [],
    "platform-overrides": {
        "php": "8.0.2"
        "php": "8.1.0"
    },
    "plugin-api-version": "2.2.0"
}
+2 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ QUICKSTART
----------------------

Prerequisites:
- PHP 8.0.2 (or greater) (https://php.net).
- PHP 8.1.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,7 +48,7 @@ Drupal requires:
- A web server with PHP support, for example:
  - Apache 2.4.7 (or greater) (http://httpd.apache.org/).
  - Nginx 1.1 (or greater) (http://nginx.com/).
- PHP 8.0.2 (or greater) (http://php.net/).
- PHP 8.1.0 (or greater) (http://php.net/).
- One of the following databases:
  - MySQL 5.7.8 (or greater) (http://www.mysql.com/).
  - MariaDB 10.3.7 (or greater) (https://mariadb.org/). MariaDB is a fully
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
        "ext-SPL": "*",
        "ext-tokenizer": "*",
        "ext-xml": "*",
        "php": ">=8.0.2",
        "php": ">=8.1.0",
        "symfony/console": "^5.4",
        "symfony/dependency-injection": "^5.4",
        "symfony/event-dispatcher": "^5.4",
+2 −2
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@
// hardcoded minimum PHP version below (both in the version_compare() call and
// in the printed message to the user) whenever \Drupal::MINIMUM_PHP is
// updated.
if (version_compare(PHP_VERSION, '8.0.2') < 0) {
  print 'Your PHP installation is too old. Drupal requires at least PHP 8.0.2. See the <a href="https://www.drupal.org/docs/9/how-drupal-9-is-made-and-what-is-included/environment-requirements-of-drupal-9#s-php-version-requirement">Environment requirements of Drupal 9</a> page for more information.';
if (version_compare(PHP_VERSION, '8.1.0') < 0) {
  print 'Your PHP installation is too old. Drupal requires at least PHP 8.1.0. See the <a href="https://www.drupal.org/docs/9/how-drupal-9-is-made-and-what-is-included/environment-requirements-of-drupal-9#s-php-version-requirement">Environment requirements of Drupal 9</a> page for more information.';
  exit;
}

Loading