jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/402122 )
Change subject: Use namespaced version of IDatabase and LoadBalancer
......................................................................
Use namespaced version of IDatabase and LoadBalancer
Change-Id: I08cb3ffad6d715c091dd0c524ea8ef203d537120
---
M includes/Hooks.php
M tests/phpunit/GeoFeatureTest.php
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
MaxSem: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Hooks.php b/includes/Hooks.php
index bcd0dc8..d937329 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -163,7 +163,7 @@
* @param Coord[] $coords
* @param int $pageId
* @param int|null $ticket
- * @throws \DBUnexpectedError
+ * @throws \Wikimedia\Rdbms\DBUnexpectedError
*/
private static function doLinksUpdate( array $coords, $pageId, $ticket
) {
$services = MediaWikiServices::getInstance();
diff --git a/tests/phpunit/GeoFeatureTest.php b/tests/phpunit/GeoFeatureTest.php
index 69822cc..2799887 100644
--- a/tests/phpunit/GeoFeatureTest.php
+++ b/tests/phpunit/GeoFeatureTest.php
@@ -4,11 +4,11 @@
use CirrusSearch\Search\SearchContext;
use CirrusSearch\SearchConfig;
-use LoadBalancer;
-use IDatabase;
use MediaWiki\MediaWikiServices;
use MediaWikiTestCase;
use Title;
+use Wikimedia\Rdbms\IDatabase;
+use Wikimedia\Rdbms\LoadBalancer;
/**
* Test GeoFeature functions.
--
To view, visit https://gerrit.wikimedia.org/r/402122
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I08cb3ffad6d715c091dd0c524ea8ef203d537120
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/GeoData
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: Thiemo Kreuz (WMDE) <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits