[05:44:50] Also most of the Cypress test units are problematic, as my development environment shows (re @cvictorovich: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseLexeme/+/1134118) [05:45:06] I’m all at sea about what to do here [07:56:00] How can I fix "use static closure" reported here? [07:56:11] ``` [07:56:12] return $this->revisionLookup->getLatestRevisionId( $entityId ) [07:56:13] ->onConcreteRevision( [07:56:15] fn ( $revisionId, $timestamp ) => $this->getCheckResultFromRequestAndMetadata [07:56:16] ( $request, $revisionId, $timestamp ) ) [07:56:18] ->onRedirect( fn () => RequestPreconditionCheckResult::newConditionUnmetResult() ) [07:56:19] ->onNonexistentEntity( fn () => RequestPreconditionCheckResult::newConditionUnmetResult() ) [07:56:21] ->map();``` [08:59:29] i think that rule has an autofixer? [09:04:33] Yeah. Or just add ‘static’ before ‘fb’ [10:21:40] Not functioning in phostorm (re @wmtelegram_bot: i think that rule has an autofixer?) [10:32:51] it's a php codesniffer rule/fixer [14:26:26] Hi [14:28:51] I configured that (re @wmtelegram_bot: it's a php codesniffer rule/fixer) [14:29:46] you should be able to run `composer fix` [14:33:03] Can I fix this in the way you told me? (re @cvictorovich: 00:02:21.269 Encountered PHPUnit ErrorTestCase - check for a syntax error in the test suite or an error in a dataProvider! [14:33:04] 00:02...) [14:43:07] No [14:43:16] That would fix the ^ (re @cvictorovich: How can I fix "use static closure" reported here?) [14:43:20] would/could/should [14:45:10] This is almost the most imperative thing for me to fix now… (re @cvictorovich: 00:02:21.269 Encountered PHPUnit ErrorTestCase - check for a syntax error in the test suite or an error in a dataProvider! [14:45:12] 00:02...) [14:45:33] The next are errors in cypress test units [14:46:12] By now I’ve applied this. It works fine. (re @tehreedy: Yeah. Or just add ‘static’ before ‘fn’) [14:51:58] It's helpful to know for future [14:53:18] Sure. Thanks for this info. (re @tehreedy: It's helpful to know for future) [16:08:41] Is there a way of accessing Commons files from Toolforge (or Cloud VPS) that is more efficient/kinder than over https? [16:11:03] Seems no (re @Lokal_Profil: Is there a way of accessing Commons files from Toolforge (or Cloud VPS) that is more efficient/kinder than over https?) [23:47:14] no, if you need Commons (or any other wiki) files the only way is through HTTP requests to upload.wikimedia.org