Page MenuHomePhabricator

PHP 8.4: Implicitly nullable parameter declarations deprecated in 3rd party vendor libs
Open, Needs TriagePublic

Description

In T376276#10306963, Umherirrender wrote:

Running the sniff from T362014 against mediawiki/vendor (833e3acddb) shows many code in different packages

libraryupstream taskour taskdone?
league/eventhttps://github.com/thephpleague/event/commit/13e437ced2a31883f00f9e9edde7f00afb943e21 => v3.0.3; will need updated league/oauth2-server; see also T261462
league/oauth2-serverhttps://github.com/thephpleague/oauth2-server/commit/9b99c22c64189da397fb5e5b41033ce679c6589d but introduce use of constructor property promotion from php8 => v9.1.0; see also T261462
league/uri-componentshttps://github.com/thephpleague/uri-components/commit/63796b08e15f7845fdc11351a43928e538d141c5 needs 7.4.1, which requires PHP 8.1; see also T261462
league/uri-interfacesneeds 7.4.1, which requires PHP 8.1; see also T261462
monolog/monologNeeds update to 3.8.0 https://github.com/Seldaek/monolog/pull/1903 https://github.com/Seldaek/monolog/releases/tag/3.8.0 (though our 2.9.3 version doesn't have the issues)
luggio/statsd-phpclientT326607: Future of liuggio/statsd-php-client?
libraryupstream taskour taskdone?
beberlei/assertNeeds update to 3.3.3
mck89/peastNeeds update to 1.16.3
psr/http-factoryNeeds update to 1.1.0
data-values/commonhttps://github.com/DataValues/Common/commit/06415a03d13e35ea471630ec6fa0f1f44cd45053 v1.2.0T379481
data-values/geohttps://github.com/DataValues/Geo/commit/518f36af29c40743d165d15ea5460647ea6d0cf9 v4.5.0T379481
data-values/interfaceshttps://github.com/DataValues/Interfaces/commit/ae70d199a9851c7d1e93258d33376ee46477e049 v1.2.0T379481
data-values/numberhttps://github.com/wmde/Number/commit/356531a83b797e09a74677abe8a0df1ef708c685 v0.13.0T379481
data-values/timehttps://github.com/wmde/Time/commit/7af710bd0b25cdefe09884e6fd8698a742849c5f v1.2.0T379481
diff/diffhttps://github.com/wmde/Diff/commit/126283e5a111c974e37dd6352ff26678b7540308 v3.4.0T379481
serialization/serializationhttps://github.com/wmde/Serialization/commit/85fff2f413f58d9c7ab80b27d17c7979b0d4ee77 v4.1.0T379481
opis/json-schemaThe latest version seems okay for php8.4T319054
ezimuel/ringphphttps://github.com/ezimuel/ringphp/pull/13 v1.2.3
react/promisehttps://github.com/reactphp/promise/commit/57cafa9cd6b94ce8f31f8bc97ce6fb321f775041 blocked on ezimuel/ringphp, needs 1.3.0
pear/net_url2https://github.com/pear/Net_URL2/commit/82f8273feb8afd4a602b1edcb54d0793bf635893 https://pear.php.net/bugs/bug.php?id=28649T388273: Minify's dependency `pear/net_url2` triggers a PHPUnit test failure on PHP 8.4 in vendor
bacon/bacon-qr-codehttps://github.com/Bacon/BaconQrCode/commit/1b2647581d70b1bdd1d33e3ce950139eee339829 v3.0, needs PHP 8.1T378424
endroid/qr-codehttps://github.com/endroid/qr-code/commit/61cc3ef6863936b58e0cbe63a44da79efe3c84cd v6.0, needs PHP 8.2T378424
swaggest/json-diffhttps://github.com/swaggest/json-diff/pull/69, needs 3.12.1
firebase/php-jwthttps://github.com/firebase/php-jwt/releases/tag/v6.10.2 needs PHP 8.0
maxmind/web-service-commonfix at https://github.com/maxmind/web-service-common-php/commit/f33ce5bef4ba50b6c5d2cdd33e6ecf81e4af7908 in 0.10.0, needs PHP 8.1
elasticsearch/elasticsearchhttps://github.com/elastic/elasticsearch-php/pull/1415 => v8.16.0 / https://github.com/elastic/elasticsearch-php/pull/1417 => v7.17.3
ezimuel/guzzlestreamshttps://github.com/ezimuel/guzzlestreams/pull/3 => https://github.com/ezimuel/guzzlestreams/releases/tag/4.1.0
geoip2/geoip2fix at https://github.com/maxmind/GeoIP2-php/commit/67934d02c53197af26191359247d139308e5cf5a in 3.1.0, needs PHP 8.1 since 3.0.0T380185
thecodingmachine/safehttps://github.com/thecodingmachine/safe/issues/442 v3.0, needs PHP 8.1; blocked on WebAuthnT363639 dropped this library
web-auth/webauthn-libFixed in https://github.com/web-auth/webauthn-framework/commit/5899d9e1696ca1ea96ac902608db6111716f1f7f v5.1.0, needs PHP 8.2T363639

Related Objects

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)

Many of the WMDE related ones I've marked as unreleased... They're released, but not integrated into vendor yet... So I'm gonna leave it as is, next update should be that they're fixed

Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)

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

[mediawiki/vendor@master] Upgrading firebase/php-jwt (v6.10.0 => v6.11.1)

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

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

[mediawiki/vendor@master] Upgrading maxmind*

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

Change #1155653 merged by jenkins-bot:

[mediawiki/vendor@master] Upgrading firebase/php-jwt (v6.10.0 => v6.11.1)

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

Change #1155656 merged by jenkins-bot:

[mediawiki/vendor@master] Upgrading maxmind*

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

Reedy updated the task description. (Show Details)
Reedy updated the task description. (Show Details)
Reedy removed a project: Patch-For-Review.

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

[mediawiki/vendor@master] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

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

[mediawiki/extensions/Elastica@master] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

Change #1125548 merged by jenkins-bot:

[mediawiki/vendor@master] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

Change #1125549 merged by jenkins-bot:

[mediawiki/extensions/Elastica@master] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

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

[mediawiki/extensions/Elastica@REL1_43] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

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

[mediawiki/extensions/Elastica@REL1_44] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

Change #1172867 merged by jenkins-bot:

[mediawiki/extensions/Elastica@REL1_44] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

Change #1172866 merged by jenkins-bot:

[mediawiki/extensions/Elastica@REL1_43] Upgrading elasticsearch/elasticsearch (v7.17.1 => v7.17.3)

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

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

[mediawiki/vendor@master] Update ezimuel/*

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

Change #1176446 merged by jenkins-bot:

[mediawiki/vendor@master] Update ezimuel/*

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

Reedy updated the task description. (Show Details)