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