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
ResolvedMholloway
ResolvedAmmarpad
ResolvedReedy
ResolvedReedy
ResolvedUmherirrender
ResolvedDaimona
ResolvedLucas_Werkmeister_WMDE
StalledNone
StalledNone
OpenDzahn
Resolvedhashar
ResolvedJdforrester-WMF
ResolvedLadsgroup
ResolvedMoritzMuehlenhoff
Resolvedjijiki
ResolvedMoritzMuehlenhoff
ResolvedTrizek-WMF
ResolvedDzahn
ResolvedGilles
OpenDzahn
ResolvedRequestPapaul
Resolvedjijiki
DeclinedNone
ResolvedDzahn
ResolvedDzahn
ResolvedPapaul
ResolvedCmjohnson
ResolvedRequestCmjohnson
ResolvedRequestPapaul
OpenNone
ResolvedAndrew
ResolvedArielGlenn
ResolvedDzahn
ResolvedLegoktm
OpenNone
ResolvedPapaul
ResolvedDzahn
DeclinedGilles
ResolvedVolans
ResolvedDzahn
OpenNone
OpenNone
Opendancy

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.3 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...