Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, wdwb-tech. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION build: Enable PhanPluginNeverReturnMethod and make pass <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/908610/> added several `@return never` types to Wikibase code. Once we can require PHP 8.1 and have access to a language-level `never` return type, we should convert those return types; at that point, we can also remove this kind of code: // @phan-suppress-next-line PhanPluginUnreachableCode Wanted to guarantee return never at the language level throw new LogicException( 'ApiUsageException not thrown' ); TASK DETAIL https://phabricator.wikimedia.org/T334726 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
