Page MenuHomePhabricator

parsoid in 1.35.0-rc.0 not updated, it includes vendor/wikimedia/parsoid/src/Utils/Diff.php which doesn't pass PHP lint
Closed, ResolvedPublic

Description

PHP Parse error:  syntax error, unexpected '=' in /usr/share/mediawiki/vendor/wikimedia/parsoid/src/Utils/Diff.php on line 20
Errors parsing /usr/share/mediawiki/vendor/wikimedia/parsoid/src/Utils/Diff.php

My guess is that this file was never ported? Can it be deleted? It triggered/failed my Debian PHP lint checks.

Details

Related Changes in Gerrit:

Event Timeline

Change 617808 had a related patch set uploaded (by Legoktm; owner: C. Scott Ananian):
[mediawiki/vendor@REL1_35] Bump Parsoid to v0.12.0-a23

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

Legoktm triaged this task as High priority.Aug 1 2020, 6:23 AM

Looks like this was fixed in master but missed a REL1_35 backport.

Also this causes update.php to fail because core's composer.json wants a23 but vendor still has a22.

Somewhat related: for the next 1.35 RC I'd like to bump parsoid from 0.12.0-a23 to 0.12.0 and make it a proper 'non-alpha' release. We didn't quite manage that before the branch.

Change 617808 merged by Reedy:
[mediawiki/vendor@REL1_35] Bump Parsoid to v0.12.0-a23

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

Legoktm claimed this task.

Somewhat related: for the next 1.35 RC I'd like to bump parsoid from 0.12.0-a23 to 0.12.0 and make it a proper 'non-alpha' release. We didn't quite manage that before the branch.

Ack, filed as T259452: Release parsoid 0.12.0 and bump it in REL1_35.

Legoktm renamed this task from vendor/wikimedia/parsoid/src/Utils/Diff.php doesn't pass PHP lint to parsoid in 1.35.0-rc.0 not updated, it includes vendor/wikimedia/parsoid/src/Utils/Diff.php which doesn't pass PHP lint.Aug 3 2020, 7:31 AM
Legoktm added subscribers: joernc_unibi, RazeSoldier.