X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fskins%2FSkinFactoryTest.php;h=d3663c84ad5e9835d7f6c36b45074991c1fb8c15;hb=ce079cf6ad79ca8d3360817f809b219d166f9153;hp=36c56a9bb2200abfc3d031122c0ad72dddd0144f;hpb=209e403368bb1f4ea6af15e6db0664e8cb95e893;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/skins/SkinFactoryTest.php b/tests/phpunit/includes/skins/SkinFactoryTest.php index 36c56a9bb2..d3663c84ad 100644 --- a/tests/phpunit/includes/skins/SkinFactoryTest.php +++ b/tests/phpunit/includes/skins/SkinFactoryTest.php @@ -56,7 +56,9 @@ class SkinFactoryTest extends MediaWikiTestCase { public function testGetSkinNames() { $factory = new SkinFactory(); // A fake callback we can use that will never be called - $callback = function() {}; + $callback = function () { + // NOP + }; $factory->register( 'skin1', 'Skin1', $callback ); $factory->register( 'skin2', 'Skin2', $callback ); $names = $factory->getSkinNames();