Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/185842

Change subject: Drop unused use clauses from Client
......................................................................

Drop unused use clauses from Client

I found these with a regex.

Change-Id: I740f0825f67874cc411c569089e7a7eb17f62534
---
M client/includes/Hooks/DataUpdateHookHandlers.php
M client/includes/Hooks/SidebarHookHandlers.php
M client/includes/OtherProjectsSitesGenerator.php
M client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
M client/tests/phpunit/includes/Hooks/SidebarHookHandlersTest.php
M client/tests/phpunit/includes/OtherProjectsSitesGeneratorTest.php
M client/tests/phpunit/includes/store/sql/DirectSqlStoreTest.php
7 files changed, 1 insertion(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/42/185842/1

diff --git a/client/includes/Hooks/DataUpdateHookHandlers.php 
b/client/includes/Hooks/DataUpdateHookHandlers.php
index aad1efa..9287944 100644
--- a/client/includes/Hooks/DataUpdateHookHandlers.php
+++ b/client/includes/Hooks/DataUpdateHookHandlers.php
@@ -4,7 +4,6 @@
 
 use Content;
 use ManualLogEntry;
-use Title;
 use User;
 use Wikibase\Client\Store\UsageUpdater;
 use Wikibase\Client\Usage\ParserOutputUsageAccumulator;
diff --git a/client/includes/Hooks/SidebarHookHandlers.php 
b/client/includes/Hooks/SidebarHookHandlers.php
index e2f625a..375f82c 100644
--- a/client/includes/Hooks/SidebarHookHandlers.php
+++ b/client/includes/Hooks/SidebarHookHandlers.php
@@ -2,7 +2,6 @@
 
 namespace Wikibase\Client\Hooks;
 
-use Action;
 use OutputPage;
 use ParserOutput;
 use Skin;
diff --git a/client/includes/OtherProjectsSitesGenerator.php 
b/client/includes/OtherProjectsSitesGenerator.php
index 5e59ff8..94bc2b1 100644
--- a/client/includes/OtherProjectsSitesGenerator.php
+++ b/client/includes/OtherProjectsSitesGenerator.php
@@ -3,7 +3,6 @@
 namespace Wikibase\Client;
 
 use Site;
-use SiteList;
 use SiteStore;
 
 /**
@@ -112,4 +111,5 @@
        private function getLocalSite() {
                return $this->siteStore->getSite( $this->localSiteId );
        }
+
 }
diff --git 
a/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php 
b/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
index 75b8650..522345a 100644
--- a/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
+++ b/client/tests/phpunit/includes/Hooks/LanguageLinkBadgeDisplayTest.php
@@ -2,7 +2,6 @@
 
 namespace Wikibase\Client\Tests\Hooks;
 
-use FauxRequest;
 use Language;
 use OutputPage;
 use ParserOutput;
diff --git a/client/tests/phpunit/includes/Hooks/SidebarHookHandlersTest.php 
b/client/tests/phpunit/includes/Hooks/SidebarHookHandlersTest.php
index e7735a2..56615c7 100644
--- a/client/tests/phpunit/includes/Hooks/SidebarHookHandlersTest.php
+++ b/client/tests/phpunit/includes/Hooks/SidebarHookHandlersTest.php
@@ -2,7 +2,6 @@
 
 namespace Wikibase\Client\Tests\Hooks;
 
-use FauxRequest;
 use IContextSource;
 use Language;
 use MediaWikiSite;
diff --git a/client/tests/phpunit/includes/OtherProjectsSitesGeneratorTest.php 
b/client/tests/phpunit/includes/OtherProjectsSitesGeneratorTest.php
index fda483c..20a7386 100644
--- a/client/tests/phpunit/includes/OtherProjectsSitesGeneratorTest.php
+++ b/client/tests/phpunit/includes/OtherProjectsSitesGeneratorTest.php
@@ -4,7 +4,6 @@
 
 use MediaWikiSite;
 use Site;
-use SiteList;
 use Wikibase\Client\OtherProjectsSitesGenerator;
 use Wikibase\Test\MockSiteStore;
 
diff --git a/client/tests/phpunit/includes/store/sql/DirectSqlStoreTest.php 
b/client/tests/phpunit/includes/store/sql/DirectSqlStoreTest.php
index 6a31dd2..55952fe 100644
--- a/client/tests/phpunit/includes/store/sql/DirectSqlStoreTest.php
+++ b/client/tests/phpunit/includes/store/sql/DirectSqlStoreTest.php
@@ -2,7 +2,6 @@
 
 namespace Wikibase\Client\Tests\Store\Sql;
 
-use Language;
 use Wikibase\Client\WikibaseClient;
 use Wikibase\DataModel\Entity\BasicEntityIdParser;
 use Wikibase\DirectSqlStore;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I740f0825f67874cc411c569089e7a7eb17f62534
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

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

Reply via email to