Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
38 merge requests!7471uncessary 5 files are moved from media-library folder to misc folder,!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!54479.5.x SF update,!5014Issue #3071143: Table Render Array Example Is Incorrect,!4868Issue #1428520: Improve menu parent link selection,!4289Issue #1344552 by marcingy, Niklas Fiekas, Ravi.J, aleevas, Eduardo Morales...,!4114Issue #2707291: Disable body-level scrolling when a dialog is open as a modal,!3630Issue #2815301 by Chi, DanielVeza, kostyashupenko, smustgrave: Allow to create...,!3291Issue #3336463: Rewrite rules for gzipped CSS and JavaScript aggregates never match,!3143Issue #3313342: [PHP 8.1] Deprecated function: strpos(): Passing null to parameter #1 LayoutBuilderUiCacheContext.php on line 28,!3102Issue #3164428 by DonAtt, longwave, sahil.goyal, Anchal_gupta, alexpott: Use...,!2853#3274419 Makes BaseFieldOverride inherit the internal property from the base field.,!2719Issue #3110137: Remove Classy from core.,!2437Issue #3238257 by hooroomoo, Wim Leers: Fragment link pointing to <textarea>...,!2378Issue #2875033: Optimize joins and table selection in SQL entity query implementation,!2074Issue #2707689: NodeForm::actions() checks for delete access on new entities,!2062Issue #3246454: Add weekly granularity to views date sort,!1974Issue #3036862 demonstration,!1591Issue #3199697: Add JSON:API Translation experimental module,!1484Exposed filters get values from URL when Ajax is on,!1255Issue #3238922: Refactor (if feasible) uses of the jQuery serialize function to use vanillaJS,!1254Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS,!1162Issue #3100350: Unable to save '/' root path alias,!1073issue #3191727: Focus states on mobile second level navigation items fixed,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!957Added throwing of InvalidPluginDefinitionException from getDefinition().,!925Issue #2339235: Remove taxonomy hard dependency on node module,!877Issue #2708101: Default value for link text is not saved,!873Issue #2875228: Site install not using batch API service,!872Draft: Issue #3221319: Race condition when creating menu links and editing content deletes menu links,!844Resolve #3036010 "Updaters",!712Issue #2909128: Autocomplete intermittent on Chrome Android,!617Issue #3043725: Provide a Entity Handler for user cancelation,!579Issue #2230909: Simple decimals fail to pass validation,!560Move callback classRemove outside of the loop,!555Issue #3202493,!485Sets the autocomplete attribute for username/password input field on login form.,!30Issue #3182188: Updates composer usage to point at ./vendor/bin/composer
......@@ -48,7 +48,7 @@
"config": {
"preferred-install": "dist",
"platform": {
"php": "8.0.2"
"php": "8.1.0"
},
"allow-plugins": {
"composer/installers": true,
......
......@@ -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"
}
......@@ -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
......
......@@ -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",
......
......@@ -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;
}
......
......@@ -114,7 +114,7 @@ class Drupal {
* - Once in the error message printed to the user immediately after.
* Remember to update both whenever this constant is updated.
*/
const MINIMUM_PHP = '8.0.2';
const MINIMUM_PHP = '8.1.0';
/**
* Minimum recommended value of PHP memory_limit.
......
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