Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
base system
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Oct 2020 at 17:15 UTC
Updated:
11 Nov 2020 at 09:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottThis patch has been carved off #3156595: Make Drupal 9 installable on PHP8
Comment #3
alexpottComment #4
alexpottComment #5
andypostlooks it need manual testing to confirm, this tests pass on php 8, otoh it's part of passed https://www.drupal.org/pift-ci-job/1863463
So just need to make sure all changes moved
Comment #6
catchDo we want a @todo remove when Drupal requires PHP 8/drops support for PHP 7.4 for each of these?
Comment #7
alexpott@catch I don't think so. The issue to remove PHP 7 stuff will be quite big and involve far more.
Comment #8
andypost@catch I filed #3179048: [meta] Remove dead code/unneeded compatibility layers now that PHP 8.1 is required as it already has child issue for GD object
Comment #9
andypostAll 4 tests running fine on php8 locally using patch #3156595-112: Make Drupal 9 installable on PHP8
I compared patch #2 with cumulative one from issue above and it contains exactly only fixes for the scope (remains has separate issues)
it looks backportable to 8.9
Comment #10
alexpottTo clarify why I think an @todo is not required here... Once you have a comparison as obvious as this I think an @todo is not necessary because this is clearly something that relies on PHP version. Any issue that is trying to remove code that depends on unsupported PHP versions needs to grep for this type of thing.
Comment #13
catchYeah OK on the comment, PHP_VERSION_ID is indeed very greppable by itself and andypost thanks for filing #3179048: [meta] Remove dead code/unneeded compatibility layers now that PHP 8.1 is required
Committed 9066196 and pushed to 9.2.x. Thanks! Cherry-picked to 9.1.x