Problem/Motivation
PHP 7.4 will stop receiving bug fixes in November 2021, before Drupal 9.3 comes out, although it will receive security support until November 2022.
Drupal 10 will require PHP 8, and it will usually be better for Drupal 9 sites to update to PHP 8 on 9.4 (along with their contrib modules), prior to updating to Drupal 10, so that each step involves smaller changes.
Given that, I think we should set DRUPAL_RECOMMENDED_PHP to PHP 8, either in Drupal 9.3 or Drupal 9.4, so that sites are encouraged to get onto a supported release earlier than later.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Drupal's recommended PHP version has been raised to PHP 8.0. Sites on PHP 7.4 or lower will begin to see suggestions to upgrade in the status report.
Comment | File | Size | Author |
---|---|---|---|
#4 | 3214924.patch | 480 bytes | catch |
Comments
Comment #2
Gábor HojtsyComment #3
Eric_A CreditAttribution: Eric_A at RIVM, Dutch Open Projects commentedIs this still on the table for 9.3?
Is this a policy issue or does it need a patch?
Comment #4
catchNeeds a patch, don't think this is controversial.
Comment #5
Gábor HojtsyComment #6
catchComment #9
catchSince we need to get this in before rc, and no-one else is online at the moment, going to break the rules and commit my own patch. See if the two character change gets me into trouble...
Comment #10
Eric_A CreditAttribution: Eric_A at RIVM, Dutch Open Projects commentedThanks!
Docs were already updated in 2020 to recommend PHP 8.0 and apparently it has stayed that way since then.
https://www.drupal.org/node/2891690/revisions/view/12146884/12157990
:-)