Page MenuHomePhabricator

PHP 8.5 CI failure in GrowthExperiments: "Using null as an array offset is deprecated, use an empty string instead"
Closed, ResolvedPublic

Description

00:02:06.248 17) GrowthExperiments\Tests\Unit\SuggestedEditsTest::testNoTopicFiltersWhenTopicMatchingDisabled
00:02:06.248 Using null as an array offset is deprecated, use an empty string instead
00:02:06.248 
00:02:06.248 /workspace/src/extensions/GrowthExperiments/includes/NewcomerTasks/ProtectionFilter.php:48
00:02:06.248 /workspace/src/extensions/GrowthExperiments/includes/HomepageModules/SuggestedEdits.php:473
00:02:06.248 /workspace/src/extensions/GrowthExperiments/includes/HomepageModules/SuggestedEdits.php:888
00:02:06.248 /workspace/src/extensions/GrowthExperiments/includes/HomepageModules/BaseModule.php:187
00:02:06.248 /workspace/src/extensions/GrowthExperiments/includes/DashboardModule/DashboardModule.php:181
00:02:06.248 /workspace/src/extensions/GrowthExperiments/tests/phpunit/unit/HomepageModules/SuggestedEditsTest.php:63

(Other failures are from CirrusSearch, tracked in its own task.)

Event Timeline

Change #1250105 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/GrowthExperiments@master] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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

Jdforrester-WMF renamed this task from PHP 8.5 CI failure in GrowthSuggestions: "Using null as an array offset is deprecated, use an empty string instead" to PHP 8.5 CI failure in GrowthExperiments: "Using null as an array offset is deprecated, use an empty string instead".Mar 10 2026, 10:22 PM
Jdforrester-WMF changed the task status from Open to In Progress.
Jdforrester-WMF claimed this task.

Change #1250105 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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

Change #1250612 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/GrowthExperiments@REL1_45] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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

Change #1250612 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@REL1_45] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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

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

[mediawiki/extensions/GrowthExperiments@REL1_44] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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

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

[mediawiki/extensions/GrowthExperiments@REL1_43] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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

Change #1284860 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@REL1_43] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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

Change #1284859 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@REL1_44] ProtectionFilter: Don't trigger an error on PHP 8.5 when article ID is null

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