Problem/Motivation
As we are targetting Symfony 6 in Drupal 10.0.0, we need to increase our minimum PHP version to 8.0.
Before release this may be increased further to 8.1 as per #3173787: [policy] Require PHP 8.1 for Drupal 10.0 if a dependency does, otherwise require PHP 8.0. (up from 7.3 in Drupal 9).
Steps to reproduce
Proposed resolution
Remaining tasks
Do it.
Remove any code that refers to PHP 7.
User interface changes
API changes
Data model changes
Release notes snippet
Drupal 10's minimum PHP version requirements was raised to PHP 8.0.0. It will not be possible to run Drupal 10 on PHP 7 or earlier. However, there is a possibility that before Drupal 10's release, the PHP requirement will be raised again to PHP 8.1. See #3173787: [policy] Require PHP 8.1 for Drupal 10.0 if a dependency does, otherwise require PHP 8.0. (up from 7.3 in Drupal 9) for ongoing discussion.
Comment | File | Size | Author |
---|---|---|---|
#6 | 3252088-6.patch | 5.01 KB | Gábor Hojtsy |
| |||
#3 | 3252088-3.patch | 5.04 KB | longwave |
|
Comments
Comment #2
longwaveAs per the parent meta, "Require at least PHP 8.0 as soon as 10.0.x is opened."
Comment #3
longwaveComment #4
andypostmaybe there's some recommented version like 8.0.6 https://www.php.net/ChangeLog-8.php#8.0.6
Comment #5
catchI think 8.0.0 is fine - there's a good chance we'll raise this again anyway.
Comment #6
Gábor HojtsyPatch did not apply. First posting a reroll for testing.
Comment #8
Gábor HojtsyGreen, got it in :) Thanks @longwave!
Comment #9
Gábor HojtsyI also went to remove any testing environmens that were using less than PHP 8, but there were no such environments (of course) for Drupal 10. So nothing to update there.
Comment #10
Gábor HojtsyAlso added a change record at https://www.drupal.org/node/3253062
Copied that to the release notes snippet as well.
Comment #11
xjmComment #12
longwave