X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fskins%2FSkinFactoryTest.php;h=d3663c84ad5e9835d7f6c36b45074991c1fb8c15;hb=b2eb89c7f652814eb14bb8bdd49ad4e1251fd4fb;hp=36c56a9bb2200abfc3d031122c0ad72dddd0144f;hpb=f5916c2626b72497b4b56dbe7f9cd8f5d86a01fd;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();