Skip to content

Commit df9ed2c

Browse files
umherirrenderKrinkle
authored andcommitted
Tests: Mark more more closures as static
Result of a new sniff I25a17fb22b6b669e817317a0f45051ae9c608208 Bug: T274036 Change-Id: I695873737167a75f0d94901fa40383a33984ca55
1 parent 0c699bf commit df9ed2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/phpunit/unit/includes/libs/uuid/GlobalIdGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ protected function setUp() : void {
219219
$this->globalIdGenerator = new GlobalIdGenerator(
220220
wfTempDir(),
221221
new HashBagOStuff( [] ),
222-
function ( $command ) {
222+
static function ( $command ) {
223223
return wfShellExec( $command );
224224
}
225225
);

0 commit comments

Comments
 (0)