Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/372893 )

Change subject: Use namespaced ScopedCallback
......................................................................

Use namespaced ScopedCallback

The non-namespaced version is deprecated since 1.28

Change-Id: Icb3fed78882913a26aad4bdb1a84cb5a3e8ca6bb
---
M engines/LuaCommon/LuaCommon.php
M tests/phpunit/engines/LuaCommon/UstringLibraryTest.php
2 files changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto 
refs/changes/93/372893/1

diff --git a/engines/LuaCommon/LuaCommon.php b/engines/LuaCommon/LuaCommon.php
index 33f8b37..954c60d 100644
--- a/engines/LuaCommon/LuaCommon.php
+++ b/engines/LuaCommon/LuaCommon.php
@@ -1,5 +1,7 @@
 <?php
 
+use Wikimedia\ScopedCallback;
+
 // @codingStandardsIgnoreLine Squiz.Classes.ValidClassName.NotCamelCaps
 abstract class Scribunto_LuaEngine extends ScribuntoEngineBase {
        /**
diff --git a/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php 
b/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php
index cbc3955..fbead43 100644
--- a/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php
+++ b/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php
@@ -1,5 +1,7 @@
 <?php
 
+use Wikimedia\ScopedCallback;
+
 // @codingStandardsIgnoreLine Squiz.Classes.ValidClassName.NotCamelCaps
 class Scribunto_LuaUstringLibraryTests extends Scribunto_LuaEngineTestBase {
        protected static $moduleName = 'UstringLibraryTests';

-- 
To view, visit https://gerrit.wikimedia.org/r/372893
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb3fed78882913a26aad4bdb1a84cb5a3e8ca6bb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to