[09:29:32] Anyone know how you stop Phan complaining about trait methods? [09:29:49] Well, the use of $this in trait methods, and presumably resolving what this is... [09:29:52] https://gerrit.wikimedia.org/r/c/mediawiki/extensions/OATHAuth/+/1182964/109/src/HTMLForm/KeySessionStorageTrait.php [09:32:53] * Lucas_WMDE looks [09:33:29] Reedy: by declaring `getRequest()` abstract with an appropriate return type, I think [09:33:41] and then PHP will check the class using the trait has a compatible method [09:34:10] We don't seem to need to do that in MediaWikiTestCaseTrait [09:34:18] hm [09:34:30] indeed I’m only finding one instance of this with codesearch, which surprises me https://codesearch.wmcloud.org/search/?q=abstract+function&files=Trait%5C.php%24&excludeFiles=&repos= [09:34:37] I could’ve sworn we did that elsewhere [09:34:42] The fact all the phan ignores are (or were) needed in the OATHAuth one felt... odd [09:34:59] PhpStorm magically resolving these things isn't a surprise, ofc [09:35:07] aha, visibility modifiers https://codesearch.wmcloud.org/search/?q=abstract.*function&files=Trait%5C.php%24&excludeFiles=&repos= [09:35:21] see e.g. https://gerrit.wikimedia.org/g/mediawiki/core/+/b511b49953f986fc7c4dcec0bb4e1edacd135d29/includes/api/ApiCreateTempUserTrait.php#88 [09:36:44] re MediaWikiTestCaseTrait, I think we generally don’t have Phan check the PHPUnit tests? [09:36:47] see https://gerrit.wikimedia.org/g/mediawiki/core/+/b511b49953f986fc7c4dcec0bb4e1edacd135d29/.phan/config.php#125 [09:37:01] ah, yeah, that probably explains that... [20:59:48] MatmaRex: Around? [21:00:56] Reedy: sup [21:02:20] Any ideas on the test failures in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/1192214 ? :) [21:04:46] hmm [21:09:59] Reedy: it probably wants this https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1101111/6/includes/Html/HtmlHelperTrait.php [21:10:38] (just the change to that file, not the rest of the patch) [21:11:04] lol [21:11:14] I tried to cherry pick that to REL1_43 in May :D [21:11:14] https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1148340 [21:11:18] you apparently tried to backport that before [21:11:19] yeah [21:11:39] it probably has some crazy dependency chain for the other changes [21:12:22] but the HtmlHelper parts are safe to backport [21:12:42] I wonder what specifically I was trying to backport it for [21:15:16] Krinkle: I guess https://phabricator.wikimedia.org/T175146 can be updated. Mercurious uses extensions/EventBus/maintenance/runSingleJobStdin.php . :) [21:35:40] AaronSchulz: he, go ahead. Another one! [21:35:50] We do seem to create runners faster than we deprecate them [23:29:12] * AaronSchulz updates the task