Page MenuHomePhabricator

Use PHPUnit 4.8 for PHP5.5 unit tests
Closed, DuplicatePublic


We're using an ancient PHP 3.7.37, and we could be using 4.8 (4.8.21 seems to be newest at time or writing)

Event Timeline

Reedy raised the priority of this task from to Medium.
Reedy updated the task description. (Show Details)
Reedy added subscribers: gerritbot, Paladox, PleaseStand and 15 others.

Change 266060 had a related patch set uploaded (by Paladox):
Update phpunit to 4.8.21

Change 266060 abandoned by Hashar:
Update phpunit to 4.8.21

The Jenkins jobs are using 3.7 provided via integration/phpunit which we do not want to bump/maintain See past attempts,n,z . Merely because the version is shared among all MediaWiki release we maintain and some old ones are not supporting PHPUnit 4.x.

Please see T99982 "Upgrade PHPUnit to 4.0 " to bump it up. It is basically blocked on being able to run it via composer.