jenkins-bot has submitted this change and it was merged.

Change subject: Hygiene: Fix namespace uses
......................................................................


Hygiene: Fix namespace uses

Change-Id: I28989a34b9621bf9278043595476ed66ce7df259
---
M FlowActions.php
M SpecialFlow.php
M includes/Block/BoardHistory.php
M includes/Block/Topic.php
M includes/Block/TopicList.php
M includes/Data/FeatureCompactor.php
M includes/Data/RevisionStorage.php
M includes/Data/TopicHistoryStorage.php
M includes/Data/WorkflowTopicListListener.php
M includes/Formatter/AbstractFormatter.php
M includes/Formatter/CheckUserQuery.php
M includes/Formatter/IRCLineUrlFormatter.php
M includes/Formatter/PostSummaryQuery.php
M includes/Formatter/RecentChangesQuery.php
M includes/Formatter/RevisionViewFormatter.php
M includes/Formatter/RevisionViewQuery.php
M includes/Formatter/SinglePostQuery.php
M includes/Formatter/TopicFormatter.php
M includes/Formatter/TopicHistoryQuery.php
M includes/Formatter/TopicListFormatter.php
M includes/Formatter/TopicListQuery.php
M includes/Log/Logger.php
M includes/Model/PostSummary.php
M includes/Model/Reference.php
M includes/Model/TopicListEntry.php
M includes/Parsoid/ReferenceExtractor.php
M includes/Parsoid/Utils.php
M includes/Templating.php
M includes/api/ApiFlowBase.php
M maintenance/FlowSetUserIp.php
M maintenance/FlowUpdateRecentChanges.php
M maintenance/FlowUpdateUserWiki.php
M maintenance/compileLightncandy.php
M tests/HookTest.php
M tests/LinksTableTest.php
M tests/PostCollectionTest.php
M tests/PostRevisionTestCase.php
M tests/RedlinkerTest.php
M tests/ReferenceExtractorTest.php
M tests/RevisionStorageTest.php
M tests/TreeRepositoryTest.php
M tests/UserNameListenerTest.php
42 files changed, 24 insertions(+), 71 deletions(-)

Approvals:
  Jdlrobson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/FlowActions.php b/FlowActions.php
index a748d86..dbfbfb0 100644
--- a/FlowActions.php
+++ b/FlowActions.php
@@ -550,7 +550,7 @@
                                        // doublecheck that this run is indeed 
against the most
                                        // recent revision, to get the global 
collection state
                                        try {
-                                               /** @var CollectionCache $cache 
*/
+                                               /** @var 
Flow\Collection\CollectionCache $cache */
                                                $cache = \Flow\Container::get( 
'collection.cache' );
                                                $lastRevision = 
$cache->getLastRevisionFor( $revision );
                                                if ( 
$revision->getRevisionId()->equals( $lastRevision->getRevisionId() ) ) {
diff --git a/SpecialFlow.php b/SpecialFlow.php
index a30298a..360706c 100644
--- a/SpecialFlow.php
+++ b/SpecialFlow.php
@@ -9,7 +9,6 @@
 use FormSpecialPage;
 use HTMLForm;
 use Status;
-use Flow\Container;
 use Flow\Model\UUID;
 use Flow\Exception\FlowException;
 
diff --git a/includes/Block/BoardHistory.php b/includes/Block/BoardHistory.php
index 1eaf597..377381e 100644
--- a/includes/Block/BoardHistory.php
+++ b/includes/Block/BoardHistory.php
@@ -2,6 +2,7 @@
 
 namespace Flow\Block;
 
+use Flow\Exception\FlowException;
 use Flow\RevisionActionPermissions;
 use Flow\Container;
 use Flow\Templating;
diff --git a/includes/Block/Topic.php b/includes/Block/Topic.php
index f51a20d..8df25ab 100644
--- a/includes/Block/Topic.php
+++ b/includes/Block/Topic.php
@@ -13,6 +13,7 @@
 use Flow\Exception\PermissionException;
 use Flow\Model\AbstractRevision;
 use Flow\Model\PostRevision;
+use Flow\Model\PostSummary;
 use Flow\Model\UUID;
 use Flow\Model\Workflow;
 use Flow\NotificationController;
diff --git a/includes/Block/TopicList.php b/includes/Block/TopicList.php
index fd72f2e..ff98b2d 100644
--- a/includes/Block/TopicList.php
+++ b/includes/Block/TopicList.php
@@ -6,7 +6,6 @@
 use Flow\Data\ManagerGroup;
 use Flow\Data\Pager;
 use Flow\Data\PagerPage;
-use Flow\Data\RootPostLoader;
 use Flow\Model\PostRevision;
 use Flow\Model\TopicListEntry;
 use Flow\Model\UUID;
diff --git a/includes/Data/FeatureCompactor.php 
b/includes/Data/FeatureCompactor.php
index 3c7b51e..bf8b801 100644
--- a/includes/Data/FeatureCompactor.php
+++ b/includes/Data/FeatureCompactor.php
@@ -3,7 +3,6 @@
 namespace Flow\Data;
 
 use Flow\Exception\DataModelException;
-use Flow\Model\UUID;
 
 /**
  * Removes the feature fields from stored array since its duplicating the 
cache key values
diff --git a/includes/Data/RevisionStorage.php 
b/includes/Data/RevisionStorage.php
index ce7e541..b124dfd 100644
--- a/includes/Data/RevisionStorage.php
+++ b/includes/Data/RevisionStorage.php
@@ -6,9 +6,7 @@
 use ExternalStore;
 use Flow\DbFactory;
 use Flow\Exception\DataModelException;
-use Flow\Model\PostRevision;
 use Flow\Model\UUID;
-use Flow\Repository\TreeRepository;
 use MWException;
 
 abstract class RevisionStorage extends DbStorage {
diff --git a/includes/Data/TopicHistoryStorage.php 
b/includes/Data/TopicHistoryStorage.php
index 0324543..771c2d9 100644
--- a/includes/Data/TopicHistoryStorage.php
+++ b/includes/Data/TopicHistoryStorage.php
@@ -2,7 +2,6 @@
 
 namespace Flow\Data;
 
-use Flow\Model\UUID;
 use Flow\Exception\DataModelException;
 
 class TopicHistoryStorage implements ObjectStorage {
diff --git a/includes/Data/WorkflowTopicListListener.php 
b/includes/Data/WorkflowTopicListListener.php
index d8d3f20..2794cc4 100644
--- a/includes/Data/WorkflowTopicListListener.php
+++ b/includes/Data/WorkflowTopicListListener.php
@@ -2,7 +2,6 @@
 
 namespace Flow\Data;
 
-use Flow\Container;
 use Flow\Model\TopicListEntry;
 
 class WorkflowTopicListListener implements LifecycleHandler {
diff --git a/includes/Formatter/AbstractFormatter.php 
b/includes/Formatter/AbstractFormatter.php
index 08bbdb5..6e6004f 100644
--- a/includes/Formatter/AbstractFormatter.php
+++ b/includes/Formatter/AbstractFormatter.php
@@ -4,7 +4,6 @@
 
 use Flow\Anchor;
 use Flow\RevisionActionPermissions;
-use Flow\Templating;
 use Html;
 use IContextSource;
 use Message;
diff --git a/includes/Formatter/CheckUserQuery.php 
b/includes/Formatter/CheckUserQuery.php
index 94e2ba6..b82a108 100644
--- a/includes/Formatter/CheckUserQuery.php
+++ b/includes/Formatter/CheckUserQuery.php
@@ -17,7 +17,7 @@
        const VERSION_PREFIX = 'v1';
 
        /**
-        * @param stdClass[] List of checkuser database rows
+        * @param \stdClass[] List of checkuser database rows
         */
        public function loadMetadataBatch( $rows ) {
                $needed = array();
diff --git a/includes/Formatter/IRCLineUrlFormatter.php 
b/includes/Formatter/IRCLineUrlFormatter.php
index b56af9a..1c31233 100644
--- a/includes/Formatter/IRCLineUrlFormatter.php
+++ b/includes/Formatter/IRCLineUrlFormatter.php
@@ -3,6 +3,7 @@
 namespace Flow\Formatter;
 
 use Flow\Container;
+use Flow\Exception\FlowException;
 use Flow\Model\Workflow;
 use RCFeedFormatter;
 use RecentChange;
diff --git a/includes/Formatter/PostSummaryQuery.php 
b/includes/Formatter/PostSummaryQuery.php
index f926d7e..7e6466e 100644
--- a/includes/Formatter/PostSummaryQuery.php
+++ b/includes/Formatter/PostSummaryQuery.php
@@ -2,7 +2,6 @@
 
 namespace Flow\Formatter;
 
-use Flow\Exception\InvalidDataException;
 use Flow\Model\UUID;
 
 class PostSummaryQuery extends AbstractQuery {
diff --git a/includes/Formatter/RecentChangesQuery.php 
b/includes/Formatter/RecentChangesQuery.php
index 166c27f..866622e 100644
--- a/includes/Formatter/RecentChangesQuery.php
+++ b/includes/Formatter/RecentChangesQuery.php
@@ -8,7 +8,6 @@
 use Flow\FlowActions;
 use Flow\Model\UUID;
 use Flow\Repository\TreeRepository;
-use ChangesList;
 use RecentChange;
 
 class RecentChangesQuery extends AbstractQuery {
@@ -31,7 +30,7 @@
        }
 
        /**
-        * @param stdClass[] List of recentchange database rows
+        * @param \stdClass[] List of recentchange database rows
         * @param bool $isWatchlist
         */
        public function loadMetadataBatch( $rows, $isWatchlist = false ) {
diff --git a/includes/Formatter/RevisionViewFormatter.php 
b/includes/Formatter/RevisionViewFormatter.php
index bb7b605..b29be24 100644
--- a/includes/Formatter/RevisionViewFormatter.php
+++ b/includes/Formatter/RevisionViewFormatter.php
@@ -2,8 +2,6 @@
 
 namespace Flow\Formatter;
 
-use Flow\Container;
-use Flow\Model\AbstractRevision;
 use Flow\Model\PostRevision;
 use Flow\Model\PostSummary;
 use Flow\Templating;
diff --git a/includes/Formatter/RevisionViewQuery.php 
b/includes/Formatter/RevisionViewQuery.php
index c69054c..c967df5 100644
--- a/includes/Formatter/RevisionViewQuery.php
+++ b/includes/Formatter/RevisionViewQuery.php
@@ -3,13 +3,10 @@
 namespace Flow\Formatter;
 
 use Flow\Container;
-use Flow\Data\ManagerGroup;
 use Flow\Exception\InvalidInputException;
 use Flow\Exception\PermissionException;
 use Flow\Model\AbstractRevision;
 use Flow\Model\UUID;
-use Flow\Repository\TreeRepository;
-use User;
 
 abstract class RevisionViewQuery extends AbstractQuery {
 
@@ -35,7 +32,7 @@
         * Get the data for rendering single revision view
         * @param string
         * @return RevisionViewRow
-        * @throws InvalidInput
+        * @throws InvalidInputException
         */
        public function getSingleViewResult( $revId ) {
                if ( !$revId ) {
diff --git a/includes/Formatter/SinglePostQuery.php 
b/includes/Formatter/SinglePostQuery.php
index e72f1a5..954179a 100644
--- a/includes/Formatter/SinglePostQuery.php
+++ b/includes/Formatter/SinglePostQuery.php
@@ -2,10 +2,7 @@
 
 namespace Flow\Formatter;
 
-use Flow\Data\PagerPage;
 use Flow\Exception\FlowException;
-use Flow\Model\PostRevision;
-use Flow\Model\TopicListEntry;
 use Flow\Model\UUID;
 
 class SinglePostQuery extends AbstractQuery {
diff --git a/includes/Formatter/TopicFormatter.php 
b/includes/Formatter/TopicFormatter.php
index db5019e..6448631 100644
--- a/includes/Formatter/TopicFormatter.php
+++ b/includes/Formatter/TopicFormatter.php
@@ -2,8 +2,6 @@
 
 namespace Flow\Formatter;
 
-use Flow\Data\PagerPage;
-use Flow\Model\UUID;
 use Flow\Model\Workflow;
 use Flow\UrlGenerator;
 use IContextSource;
diff --git a/includes/Formatter/TopicHistoryQuery.php 
b/includes/Formatter/TopicHistoryQuery.php
index c60ed0f..25d8172 100644
--- a/includes/Formatter/TopicHistoryQuery.php
+++ b/includes/Formatter/TopicHistoryQuery.php
@@ -2,10 +2,9 @@
 
 namespace Flow\Formatter;
 
-use Flow\Data\PagerPage;
 use Flow\Exception\FlowException;
+use Flow\Exception\InvalidDataException;
 use Flow\Model\PostRevision;
-use Flow\Model\TopicListEntry;
 use Flow\Model\UUID;
 
 class TopicHistoryQuery  extends AbstractQuery {
diff --git a/includes/Formatter/TopicListFormatter.php 
b/includes/Formatter/TopicListFormatter.php
index 87a872e..b0b16bc 100644
--- a/includes/Formatter/TopicListFormatter.php
+++ b/includes/Formatter/TopicListFormatter.php
@@ -4,7 +4,6 @@
 
 use Flow\Anchor;
 use Flow\Data\PagerPage;
-use Flow\Model\UUID;
 use Flow\Model\Workflow;
 use Flow\Templating;
 use Flow\UrlGenerator;
diff --git a/includes/Formatter/TopicListQuery.php 
b/includes/Formatter/TopicListQuery.php
index 8179b3d..1c46c4c 100644
--- a/includes/Formatter/TopicListQuery.php
+++ b/includes/Formatter/TopicListQuery.php
@@ -2,9 +2,8 @@
 
 namespace Flow\Formatter;
 
-use Flow\Container;
 use Flow\Data\ManagerGroup;
-use Flow\Data\PagerPage;
+use Flow\Exception\FlowException;
 use Flow\Model\PostRevision;
 use Flow\Model\PostSummary;
 use Flow\Model\TopicListEntry;
diff --git a/includes/Log/Logger.php b/includes/Log/Logger.php
index 3f14f6f..a6a7d61 100644
--- a/includes/Log/Logger.php
+++ b/includes/Log/Logger.php
@@ -2,13 +2,14 @@
 
 namespace Flow\Log;
 
+use Closure;
+use Flow\Container;
 use Flow\FlowActions;
 use Flow\Model\PostRevision;
-use Flow\UrlGenerator;
-use ManualLogEntry;
-use User;
-use Closure;
 use Flow\Model\UUID;
+use ManualLogEntry;
+use Title;
+use User;
 
 class Logger {
 
@@ -63,7 +64,7 @@
                $logType = $this->getLogType( $post, $action );
 
                // reasonably likely this is already loaded in-process and just 
returns that object
-               $workflow = \Flow\Container::get( 'storage.workflow' )->get( 
$workflowId );
+               $workflow = Container::get( 'storage.workflow' )->get( 
$workflowId );
                if ( $workflow ) {
                        $title = $workflow->getArticleTitle();
                } else {
diff --git a/includes/Model/PostSummary.php b/includes/Model/PostSummary.php
index 3f1ea78..9f730ff 100644
--- a/includes/Model/PostSummary.php
+++ b/includes/Model/PostSummary.php
@@ -3,7 +3,6 @@
 namespace Flow\Model;
 
 use Flow\Collection\PostSummaryCollection;
-use Flow\Model\PostRevision;
 use User;
 
 class PostSummary extends AbstractSummary {
diff --git a/includes/Model/Reference.php b/includes/Model/Reference.php
index daa8dd7..eeee2c9 100644
--- a/includes/Model/Reference.php
+++ b/includes/Model/Reference.php
@@ -149,7 +149,7 @@
 
        /**
         * Instantiates a WikiReference object from a storage row.
-        * @param  StdClass $row
+        * @param  \StdClass $row
         * @return WikiReference
         */
        public static function fromStorageRow( $row ) {
@@ -229,7 +229,7 @@
 
        /**
         * Instantiates a URLReference object from a storage row.
-        * @param  StdClass $row
+        * @param  \StdClass $row
         * @return URLReference
         */
        public static function fromStorageRow( $row ) {
diff --git a/includes/Model/TopicListEntry.php 
b/includes/Model/TopicListEntry.php
index 4967739..5bab54c 100644
--- a/includes/Model/TopicListEntry.php
+++ b/includes/Model/TopicListEntry.php
@@ -89,7 +89,7 @@
        }
 
        /**
-        * @return timestamp|null
+        * @return string|null
         */
        public function getTopicWorkflowLastUpdated() {
                return $this->topicWorkflowLastUpdated;
diff --git a/includes/Parsoid/ReferenceExtractor.php 
b/includes/Parsoid/ReferenceExtractor.php
index e6788db..79043a0 100644
--- a/includes/Parsoid/ReferenceExtractor.php
+++ b/includes/Parsoid/ReferenceExtractor.php
@@ -3,12 +3,11 @@
 namespace Flow\Parsoid;
 
 use DOMXPath;
-use Flow\Model\Reference;
+use Flow\Exception\InvalidInputException;
 use Flow\Model\URLReference;
 use Flow\Model\UUID;
 use Flow\Model\WikiReference;
 use Flow\Model\Workflow;
-use Flow\Parsoid\Utils;
 use MWException;
 
 /**
diff --git a/includes/Parsoid/Utils.php b/includes/Parsoid/Utils.php
index ca8e77a..b315c56 100644
--- a/includes/Parsoid/Utils.php
+++ b/includes/Parsoid/Utils.php
@@ -3,6 +3,7 @@
 namespace Flow\Parsoid;
 
 use Title;
+use OutputPage;
 use Flow\Exception\WikitextException;
 use Flow\Exception\InvalidDataException;
 
@@ -211,7 +212,7 @@
         * @param OutputPage $out OutputPage object
         * @return bool
         */
-       public static function onFlowAddModules( \OutputPage $out ) {
+       public static function onFlowAddModules( OutputPage $out ) {
 
                list( $parsoidURL ) = self::parsoidConfig();
                if ( isset( $parsoidURL ) && $parsoidURL ) {
diff --git a/includes/Templating.php b/includes/Templating.php
index 852ebf6..dceaf13 100644
--- a/includes/Templating.php
+++ b/includes/Templating.php
@@ -2,23 +2,14 @@
 
 namespace Flow;
 
-use Flow\Block\Block;
-use Flow\Block\TopicBlock;
-use Flow\Block\HeaderBlock;
-use Flow\Data\PagerPage;
 use Flow\Data\UserNameBatch;
 use Flow\Model\AbstractRevision;
 use Flow\Model\PostRevision;
-use Flow\Model\Header;
 use Flow\Parsoid\Controller as ContentFixer;
-use Flow\View\PostActionMenu;
 use OutputPage;
-use User;
 // These don't really belong here
-use Html;
 use Linker;
 use Message;
-use Flow\Exception\InvalidDataException;
 
 class Templating {
        /**
diff --git a/includes/api/ApiFlowBase.php b/includes/api/ApiFlowBase.php
index fd3b497..fc8cf0e 100644
--- a/includes/api/ApiFlowBase.php
+++ b/includes/api/ApiFlowBase.php
@@ -4,7 +4,6 @@
 use Flow\Model\UUID;
 use Flow\Container;
 use Flow\TalkpageManager;
-use Flow\Block\AbstractBlock;
 use Flow\Model\AbstractRevision;
 
 abstract class ApiFlowBase extends ApiBase {
diff --git a/maintenance/FlowSetUserIp.php b/maintenance/FlowSetUserIp.php
index 20351e1..a04314e 100644
--- a/maintenance/FlowSetUserIp.php
+++ b/maintenance/FlowSetUserIp.php
@@ -1,7 +1,6 @@
 <?php
 
 use Flow\Container;
-use Flow\Model\UUID;
 
 require_once ( getenv( 'MW_INSTALL_PATH' ) !== false
        ? getenv( 'MW_INSTALL_PATH' ) . '/maintenance/Maintenance.php'
@@ -23,7 +22,7 @@
        private $completeCount = 0;
 
        protected function doDBUpdates() {
-               $dbf = Flow\Container::get( 'db.factory' );
+               $dbf = Container::get( 'db.factory' );
                $dbw = $dbf->getDB( DB_MASTER );
                $hasRun = false;
 
diff --git a/maintenance/FlowUpdateRecentChanges.php 
b/maintenance/FlowUpdateRecentChanges.php
index 63c1c76..d1e11c3 100644
--- a/maintenance/FlowUpdateRecentChanges.php
+++ b/maintenance/FlowUpdateRecentChanges.php
@@ -1,8 +1,5 @@
 <?php
 
-use Flow\Container;
-use Flow\Model\UUID;
-
 require_once ( getenv( 'MW_INSTALL_PATH' ) !== false
        ? getenv( 'MW_INSTALL_PATH' ) . '/maintenance/Maintenance.php'
        : dirname( __FILE__ ) . '/../../../maintenance/Maintenance.php' );
diff --git a/maintenance/FlowUpdateUserWiki.php 
b/maintenance/FlowUpdateUserWiki.php
index f806f79..acccc54 100644
--- a/maintenance/FlowUpdateUserWiki.php
+++ b/maintenance/FlowUpdateUserWiki.php
@@ -2,7 +2,6 @@
 
 use Flow\Container;
 use Flow\Model\UUID;
-use Flow\Model\Header;
 use Flow\Model\PostRevision;
 
 $IP = getenv( 'MW_INSTALL_PATH' );
diff --git a/maintenance/compileLightncandy.php 
b/maintenance/compileLightncandy.php
index d8e33ca..6cd9014 100644
--- a/maintenance/compileLightncandy.php
+++ b/maintenance/compileLightncandy.php
@@ -1,7 +1,6 @@
 <?php
 
 use Flow\Container;
-use Flow\Model\UUID;
 
 require_once ( getenv( 'MW_INSTALL_PATH' ) !== false
        ? getenv( 'MW_INSTALL_PATH' ) . '/maintenance/Maintenance.php'
diff --git a/tests/HookTest.php b/tests/HookTest.php
index 0e78414..4d88f69 100644
--- a/tests/HookTest.php
+++ b/tests/HookTest.php
@@ -3,7 +3,6 @@
 namespace Flow\Tests;
 
 use FlowHooks;
-use Flow\Model\UUID;
 use RecentChange;
 
 /**
diff --git a/tests/LinksTableTest.php b/tests/LinksTableTest.php
index a64dae4..61480c4 100644
--- a/tests/LinksTableTest.php
+++ b/tests/LinksTableTest.php
@@ -5,11 +5,8 @@
 use Flow\Container;
 use Flow\Exception\WikitextException;
 use Flow\Model\AbstractRevision;
-use Flow\Model\Reference;
 use Flow\Model\UUID;
 use Flow\Model\Workflow;
-use Article;
-use MediaWikiTestCase;
 use Title;
 use User;
 
diff --git a/tests/PostCollectionTest.php b/tests/PostCollectionTest.php
index 1bd4650..6abfee6 100644
--- a/tests/PostCollectionTest.php
+++ b/tests/PostCollectionTest.php
@@ -2,7 +2,6 @@
 
 namespace Flow\Tests;
 
-use Flow\Container;
 use Flow\Collection\PostCollection;
 
 /**
diff --git a/tests/PostRevisionTestCase.php b/tests/PostRevisionTestCase.php
index 90d5980..2247e93 100644
--- a/tests/PostRevisionTestCase.php
+++ b/tests/PostRevisionTestCase.php
@@ -3,6 +3,7 @@
 namespace Flow\Tests;
 
 use Flow\Container;
+use Flow\Data\ObjectManager;
 use Flow\Data\RecentChanges as RecentChangesHandler;
 use Flow\Model\AbstractRevision;
 use Flow\Model\PostRevision;
@@ -10,6 +11,7 @@
 use Flow\Model\UUID;
 use User;
 
+
 /**
  * @group Flow
  * @group Database
diff --git a/tests/RedlinkerTest.php b/tests/RedlinkerTest.php
index 9668fd4..daed56f 100644
--- a/tests/RedlinkerTest.php
+++ b/tests/RedlinkerTest.php
@@ -4,7 +4,6 @@
 
 use Flow\Parsoid\Redlinker;
 use Flow\Model\UUID;
-use Flow\Model\PostRevision;
 use Title;
 use FormatJson;
 
diff --git a/tests/ReferenceExtractorTest.php b/tests/ReferenceExtractorTest.php
index dd1abdf..04c35d7 100644
--- a/tests/ReferenceExtractorTest.php
+++ b/tests/ReferenceExtractorTest.php
@@ -3,12 +3,8 @@
 namespace Flow;
 
 use MediaWikiTestCase;
-use Flow\Container;
 use Flow\Exception\WikitextException;
 use Title;
-use User;
-use WikiPage;
-use WikitextContent;
 
 /**
  * @group Database
diff --git a/tests/RevisionStorageTest.php b/tests/RevisionStorageTest.php
index 5510211..81dbf74 100644
--- a/tests/RevisionStorageTest.php
+++ b/tests/RevisionStorageTest.php
@@ -3,7 +3,6 @@
 namespace Flow\Tests;
 
 use Flow\Data\PostRevisionStorage;
-use Flow\Data\ObjectManager;
 
 /**
  * @group Flow
diff --git a/tests/TreeRepositoryTest.php b/tests/TreeRepositoryTest.php
index 240cdbc..3bdfee1 100644
--- a/tests/TreeRepositoryTest.php
+++ b/tests/TreeRepositoryTest.php
@@ -2,7 +2,6 @@
 
 namespace Flow\Tests;
 
-use Flow\Container;
 use Flow\Model\UUID;
 use ReflectionClass;
 
diff --git a/tests/UserNameListenerTest.php b/tests/UserNameListenerTest.php
index a7d80ae..a40dd35 100644
--- a/tests/UserNameListenerTest.php
+++ b/tests/UserNameListenerTest.php
@@ -4,7 +4,6 @@
 
 use Closure;
 use ReflectionClass;
-use Flow\Container;
 use Flow\Data\UserNameBatch;
 use Flow\Data\UserNameListener;
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I28989a34b9621bf9278043595476ed66ce7df259
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: frontend-rewrite
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to