Page MenuHomePhabricator

Deprecated: Use of Hooks::clear was deprecated in MediaWiki 1.35
Closed, ResolvedPublic

Description

When not doing any changes to mediawiki/core (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/683956), CI still passes, but throws a deprecation warning.

00:25:36 .PHP Deprecated:  Use of Hooks::clear was deprecated in MediaWiki 1.35. [Called from ParserTestRunner::{closure} in /workspace/src/tests/parser/ParserTestRunner.php at line 367] in /workspace/src/includes/debug/MWDebug.php on line 376
00:25:46 ............................................................ 8113 / 8466 ( 95%)
00:25:49 ...........................................................SS 8174 / 8466 ( 96%)
00:25:56 SSSS........SSSSSSSSS..........SSSSSS........................ 8235 / 8466 ( 97%)
00:26:06 ...........................................SS................ 8296 / 8466 ( 97%)
00:26:08 ............................................................. 8357 / 8466 ( 98%)
00:26:10 ....................S..................................S..... 8418 / 8466 ( 99%)
00:26:11 ................................................              8466 / 8466 (100%)
00:26:11 
00:26:11 Time: 5.19 minutes, Memory: 808.50 MB
00:26:11 
00:26:11 OK, but incomplete, skipped, or risky tests!
00:26:11 Tests: 8466, Assertions: 97695, Skipped: 30, Incomplete: 7.
00:26:11 
00:26:11 Deprecated: Use of Hooks::clear was deprecated in MediaWiki 1.35. [Called from ParserTestRunner::{closure} in /workspace/src/tests/parser/ParserTestRunner.php at line 367] in /workspace/src/includes/debug/MWDebug.php on line 376
00:26:11

Event Timeline

Zabe updated the task description. (Show Details)

Change 683996 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/core@master] Stop mediawiki/core CI throwing a deprecation warning

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

Change 683996 merged by jenkins-bot:

[mediawiki/core@master] ParserTestRunner: use HookContainer instead of Hooks class

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

Zabe claimed this task.