Closed (fixed)
Project:
Drupal core
Version:
10.2.x-dev
Component:
base system
Priority:
Critical
Category:
Plan
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2023 at 19:02 UTC
Updated:
20 Dec 2023 at 00:11 UTC
Jump to comment: Most recent
Comments
Comment #2
andypostbetter title
Comment #3
catchComment #4
liam morlandWhat is the first version of Drupal that will run on PHP 8.3?
Comment #5
andypost@Liam as its release in Dec'23 the most probably 10.2.0
Comment #6
catch@Liam Morland we aim for the Drupal minor release immediately after the PHP minor release to be fully compatible - i.e. 10.2 should have PHP 8.3 compatibility - obviously something horrible could come up, but also we'd try to report that upstream prior to their release if we could. Fully compatible just means 'tests pass', there's usually follow-up and untested deprecations that get found etc.
If all the changes are easy, we might backport some of them to 10.1, and then 10.1 might end up compatible with PHP 8.3 even before it's released, but there's no way to predict whether that'll happen or not, and we'll only backport if it's straightforward.
Comment #7
andypostNew attribute is added to PHP 8.3
#[\Override]https://wiki.php.net/rfc/marking_overriden_methodsComment #8
andypostNew deprecations are coming so filed new child #3374223: Fix deprecated overloaded function usage in PHP 8.3
Comment #9
andypostOne more RFC commited https://wiki.php.net/rfc/assert-string-eval-cleanup
Comment #10
andypostFiled new major child #3375693: Fix deprecated assert_options() function usage for PHP 8.3
Comment #11
rfayDDEV HEAD now has PHP 8.3 support; you can already use it with `brew install --HEAD ddev/ddev/ddev` or other ways, https://ddev.readthedocs.io/en/latest/developers/building-contributing/#...
It will be in v1.22.2 before terribly long.
Not all extensions are there yet, as they're not in the upstream deb.sury.org packaging. So xdebug is still missing, for example.
Comment #12
andypostFYI I'm building xdebug from git last 3 months and it works fine
Comment #13
andypostOne more child #3391281: Fix deprecated ReflectionProperty::setValue() usage for PHP 8.3
Comment #14
andypostThe issue #2441811: Upgrade filter system to HTML5 making #3383577: TextSummaryTest:testLength() fails on some libxml versions obsolete so only 2 issues left
- #3375693: Fix deprecated assert_options() function usage for PHP 8.3
- #3391281: Fix deprecated ReflectionProperty::setValue() usage for PHP 8.3
Comment #15
andypostComment #16
andypostthe only one issue left to fix
Comment #17
andypostAll child issues are fixed and I find the issue complete
Comment #18
longwaveMarking this fixed and tagging for a release highlight.
@andypost thanks for all the work in the child issues.
Comment #19
longwaveFixing version.
Comment #21
kim.pepperAdded #3406622: Upgrade phpspec/prophecy to v1.18.0 to support PHP 8.3
Comment #22
jo_franz commentedDoes "Closed (fixed)" mean PHP 8.3 is now supported in this Drupal PHP matrix?
Comment #23
andypostYes, just updated https://www.drupal.org/node/2891690/revisions/view/13315507/13351505
and there's small clean-up left #3398033: Fix deprecated assert.active directive