Tests are currently failing for the master branch for TheWikipediaLibrary:
https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/TheWikipediaLibrary/+/607843/ is an empty patch with only a commit message but it is failing tests
10:42:27 <checkstyle version="6.5"> 10:42:27 <file name="includes/TheWikipediaLibraryHooks.php"> 10:42:27 <error line="104" severity="error" message="Call to undeclared method \GlobalPreferences\GlobalPreferencesFactory::setUser" source="PhanUndeclaredMethod"/> 10:42:27 <error line="105" severity="error" message="Argument 1 ($user) is true of type true but \GlobalPreferences\GlobalPreferencesFactory::getGlobalPreferencesValues() takes \User defined at ../../extensions/GlobalPreferences/includes/GlobalPreferencesFactory.php:489" source="PhanTypeMismatchArgumentReal"/> 10:42:27 <error line="107" severity="error" message="Call with 2 arg(s) to \GlobalPreferences\GlobalPreferencesFactory::setGlobalPreferences(\User $user, array $newGlobalPrefs, \IContextSource $context, string[] $checkMatricesToClear = []) which requires 3 arg(s) defined at ../../extensions/GlobalPreferences/includes/GlobalPreferencesFactory.php:510" source="PhanParamTooFew"/> 10:42:27 <error line="107" severity="warning" message="Argument 1 ($user) is $prefs of type array{twl-notified:1}|non-empty-array&lt;mixed,string&gt; but \GlobalPreferences\GlobalPreferencesFactory::setGlobalPreferences() takes \User defined at ../../extensions/GlobalPreferences/includes/GlobalPreferencesFactory.php:510" source="PhanTypeMismatchArgument"/> 10:42:27 <error line="107" severity="warning" message="Argument 2 ($newGlobalPrefs) is RequestContext::getMain() of type \IContextSource|\MessageLocalizer|\MutableContext|\RequestContext but \GlobalPreferences\GlobalPreferencesFactory::setGlobalPreferences() takes array defined at ../../extensions/GlobalPreferences/includes/GlobalPreferencesFactory.php:510" source="PhanTypeMismatchArgument"/> 10:42:27 </file> 10:42:27 </checkstyle>
Likely caused by T238466: Deprecate GlobalPreferencesFactory::setUser() [medium]