Page MenuHomePhabricator

RemexHtml should support PHP 8.1
Closed, ResolvedPublicBUG REPORT

Description

Testing master with 8.1 and deprecations reporting on, phpunit does not even get started before complaining about a bunch of return types in RemexHtml.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.
StatusSubtypeAssignedTask
ResolvedJdforrester-WMF
ResolvedBUG REPORTNone
Resolvedtstarling

Event Timeline

Change 791796 had a related patch set uploaded (by MarkAHershberger; author: MarkAHershberger):

[mediawiki/libs/RemexHtml@master] Make this work with 8.1

https://gerrit.wikimedia.org/r/791796

In theory, it potentially should in all supported release branches...

Reedy renamed this task from RemexHtml should support php 8.1 for REL1_38 to RemexHtml should support PHP 8.1.May 21 2022, 8:13 AM
Reedy triaged this task as High priority.Jun 27 2022, 6:56 PM

Marking this as high as Ubuntu 22.04 ships with PHP 8.1... And it'd be nice to have this buried dependancy not spam all of the logs ;D

T307630: mediawiki/libs/RemexHtml phan issues under 8.1 will probably need fixing first/at the same time, unfortunately.

Change 809000 had a related patch set uploaded (by Reedy; author: Reedy):

[integration/config@master] Skip PHP 8.1 on RemexHtml

https://gerrit.wikimedia.org/r/809000

Change 809000 merged by jenkins-bot:

[integration/config@master] Skip PHP 8.1 on RemexHtml

https://gerrit.wikimedia.org/r/809000

Change 786306 had a related patch set uploaded (by Reedy; author: Simetrical):

[mediawiki/libs/RemexHtml@master] Specify return types to make PHP 8.1 happy

https://gerrit.wikimedia.org/r/786306

Change 791796 abandoned by Reedy:

[mediawiki/libs/RemexHtml@master] Make this work with 8.1

Reason:

https://gerrit.wikimedia.org/r/c/mediawiki/libs/RemexHtml/+/786306

https://gerrit.wikimedia.org/r/791796

Change 786306 merged by jenkins-bot:

[mediawiki/libs/RemexHtml@master] Specify return types to make PHP 8.1 happy

https://gerrit.wikimedia.org/r/786306