Page MenuHomePhabricator

Remove old symfony/polyfill-php* replace directives
Open, Needs TriagePublic

Description

We currently have replace directives for various symfony/polyfill-php to stop them being included in MediaWiki-Vendor...

Tracking various tasks that need completing so that we can eventually fully remove those entries from composer.json because they should not be needed at all as we are running PHP8.1.

		"symfony/polyfill-php73": "1.99",
		"symfony/polyfill-php74": "1.99",
		"symfony/polyfill-php80": "1.99",
		"symfony/polyfill-php81": "1.99",

These were added (though the 74 was technically not needed) for T373753: Drop symfony/polyfill-php 73-81 from mediawiki-vendor.


reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/vendor$ php8.1 `which composer` why symfony/polyfill-php73
__root__        dev-master replaces symfony/polyfill-php73 (1.99)
ruflin/elastica 7.3.1      requires symfony/polyfill-php73 (^1.19)
reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/vendor$ php8.1 `which composer` why symfony/polyfill-php80
__root__          dev-master replaces symfony/polyfill-php80 (1.99)
data-values/geo   4.5.1      requires symfony/polyfill-php80 (^1.18.1)
wikimedia/parsoid v0.22.0-a6 requires symfony/polyfill-php80 (^1.23.1)
reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/vendor$ php8.1 `which composer` why symfony/polyfill-php81
__root__             dev-master replaces symfony/polyfill-php81 (1.99)
wikimedia/json-codec v3.0.3     requires symfony/polyfill-php81 (^1.27.0)

[This first depended on T396296: Upgrade symfony/* to PHP 8.1 versions, but we've removed that to make the dependency listing readable.]

  • symfony/polyfill-php73
  • symfony/polyfill-php74
  • symfony/polyfill-php80
  • symfony/polyfill-php81

Details

Event Timeline

Reedy renamed this task from Remove old symfony/polyfill-php* to Remove old symfony/polyfill-php* replace.Jun 8 2025, 11:15 AM
Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)
Reedy renamed this task from Remove old symfony/polyfill-php* replace to Remove old symfony/polyfill-php* replace directives.Jun 8 2025, 1:25 PM
Reedy updated the task description. (Show Details)
reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/vendor$ php8.1 `which composer` why symfony/polyfill-php73
__root__        dev-master replaces symfony/polyfill-php73 (1.99)
ruflin/elastica 7.3.1      requires symfony/polyfill-php73 (^1.19)
reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/vendor$ php8.1 `which composer` why symfony/polyfill-php74
__root__ dev-master replaces symfony/polyfill-php74 (1.99)
reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/vendor$ php8.1 `which composer` why symfony/polyfill-php80
__root__        dev-master replaces symfony/polyfill-php80 (1.99)
data-values/geo 4.5.1      requires symfony/polyfill-php80 (^1.18.1)
reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/vendor$ php8.1 `which composer` why symfony/polyfill-php81
__root__ dev-master replaces symfony/polyfill-php81 (1.99)

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

[mediawiki/vendor@master] Drop symfony/polyfill-php replaces for 74-81

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

ruflin/elastica 8.0 onwards do drop the symfony/polyfill-php73..

Change #1191821 merged by jenkins-bot:

[mediawiki/vendor@master] Drop symfony/polyfill-php replaces for 74-81

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