- Issue created by @andypost
- π¨π¦Canada Liam Morland Ontario, CA π¨π¦
What is the first version of Drupal that will run on PHP 8.3?
- π«π·France andypost
@Liam as its release in Dec'23 the most probably 10.2.0
- π¬π§United Kingdom 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.
- π«π·France andypost
New attribute is added to PHP 8.3
#[\Override]
https://wiki.php.net/rfc/marking_overriden_methods - π«π·France andypost
New deprecations are coming so filed new child π Fix deprecated overloaded function usage in PHP 8.3 Fixed
- π«π·France andypost
One more RFC commited https://wiki.php.net/rfc/assert-string-eval-cleanup
$ git grep assert_options core/assets/scaffold/files/example.settings.local.php:35:assert_options(ASSERT_ACTIVE, TRUE); core/assets/scaffold/files/example.settings.local.php:36:assert_options(ASSERT_EXCEPTION, TRUE); core/lib/Drupal/Component/Assertion/Handle.php:5:trigger_error(__NAMESPACE__ . '\Handle is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, use assert_options(ASSERT_EXCEPTION, TRUE). See https://drupal.org/node/3105918', E_USER_DEPRECATED); core/lib/Drupal/Component/Assertion/Handle.php:13: * assert_options(ASSERT_EXCEPTION, TRUE). core/lib/Drupal/Component/Assertion/Handle.php:24: assert_options(ASSERT_WARNING, FALSE); core/lib/Drupal/Component/Assertion/Handle.php:27: assert_options(ASSERT_EXCEPTION, TRUE); core/lib/Drupal/Core/DrupalKernel.php:1062: assert_options(ASSERT_ACTIVE, TRUE); core/lib/Drupal/Core/DrupalKernel.php:1064: assert_options(ASSERT_EXCEPTION, TRUE); core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php:70: $assert_active_default = assert_options(ASSERT_ACTIVE); core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php:80: assert_options(ASSERT_ACTIVE, 1); core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php:90: assert_options(ASSERT_ACTIVE, 0); core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php:95: assert_options(ASSERT_ACTIVE, $assert_active_default); core/tests/bootstrap.php:179:assert_options(ASSERT_EXCEPTION, TRUE); sites/example.settings.local.php:35:assert_options(ASSERT_ACTIVE, TRUE); sites/example.settings.local.php:36:assert_options(ASSERT_EXCEPTION, TRUE);
- π«π·France andypost
Filed new major child π Fix deprecated assert_options() function usage for PHP 8.3 Needs review
- πΊπΈUnited States rfay Palisade, CO, USA
DDEV 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.
- π«π·France andypost
FYI I'm building xdebug from git last 3 months and it works fine
- π«π·France andypost
One more child π Fix deprecated ReflectionProperty::setValue() usage for PHP 8.3 Needs review
- π«π·France andypost
The issue π Upgrade filter system to HTML5 Fixed making π TextSummaryTest:testLength() fails on some libxml versions Closed: outdated obsolete so only 2 issues left
- π Fix deprecated assert_options() function usage for PHP 8.3 Needs review
- π Fix deprecated ReflectionProperty::setValue() usage for PHP 8.3 Needs review - Status changed to RTBC
about 1 year ago 6:16pm 31 October 2023 - π«π·France andypost
All child issues are fixed and I find the issue complete
- Status changed to Fixed
about 1 year ago 3:49pm 5 November 2023 - π¬π§United Kingdom longwave UK
Marking this fixed and tagging for a release highlight.
@andypost thanks for all the work in the child issues.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
about 1 year ago 11:30pm 6 December 2023 - π¦πΊAustralia kim.pepper πββοΈπ¦πΊSydney, Australia
Added π phpspec/prophecy v1.17.0 does not support php 8.3 Active
- π©πͺGermany jo_franz
Does "Closed (fixed)" mean PHP 8.3 is now supported in this Drupal PHP matrix β ?
- π«π·France andypost
Yes, just updated https://www.drupal.org/node/2891690/revisions/view/13315507/13351505 β
and there's small clean-up left π Remove mentions of assert.active from .htaccess Needs work