Page MenuHomePhabricator

Package phpunit/php-token-stream is abandoned
Open, Stalled, LowestPublic

Description

When running composer update on the HEAD version of MediaWiki core (94248e6373e57f4564bf7ed616e3a1e71c3ed58c) I got this warning:

Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.

See P12493 for more details

Related Objects

StatusSubtypeAssignedTask
StalledNone
OpenNone
Resolvedaaron
Resolved Mholloway
ResolvedAmmarpad
ResolvedReedy
ResolvedReedy
ResolvedUmherirrender
ResolvedDaimona
ResolvedLucas_Werkmeister_WMDE
StalledNone
OpenNone
ResolvedDzahn
Resolvedhashar
ResolvedJdforrester-WMF
ResolvedLadsgroup
ResolvedMoritzMuehlenhoff
Resolvedjijiki
ResolvedMoritzMuehlenhoff
ResolvedTrizek-WMF
ResolvedDzahn
Resolved Gilles
ResolvedDzahn
ResolvedRequestPapaul
Resolvedjijiki
DeclinedNone
ResolvedDzahn
ResolvedDzahn
ResolvedPapaul
ResolvedCmjohnson
ResolvedRequestCmjohnson
ResolvedRequestPapaul
ResolvedAndrew
ResolvedArielGlenn
ResolvedDzahn
ResolvedLegoktm
ResolvedPapaul
ResolvedDzahn
Declined Gilles
ResolvedVolans
ResolvedDzahn
ResolvedLegoktm
ResolvedPleaseStand
OpenNone
ResolvedJoe
Resolvedtstarling
ResolvedArielGlenn
ResolvedJoe
Resolvedtstarling
OpenJdforrester-WMF
OpenJdforrester-WMF
ResolvedLegoktm
OpenLegoktm
OpenJdforrester-WMF
ResolvedDaimona
ResolvedDaimona
ResolvedJoe
ResolvedJMeybohm
OpenNone
OpenNone
OpenNone

Event Timeline

It's due to our version of phpunit/php-code-coverage, which is due to using phpunit 8.5 still...

https://packagist.org/packages/phpunit/phpunit

That requires phpunit/php-code-coverage: ^7.0.10... But we need to upgrade to phpunit ^9.0 to support a new enough version of php-code-coverage which doesn't need phpunit/php-token-stream

While we don't have a task to upgrade to PHPUnit 9, we do have T243600: Preparation for the PHPUnit 9 upgrade

But we can't do that anyway until we drop PHP 7.2 support in MW master, which is T261872: Drop PHP 7.2 support from MediaWiki master branch, once Wikimedia production is on 7.4 which is blocked on T245757: Upgrade MediaWiki clusters to Debian Buster (debian 10)...

Reedy triaged this task as Lowest priority.Sep 4 2020, 7:32 PM

And as it's a dev dependancy anyway...