Tobias Gritschacher has submitted this change and it was merged.

Change subject: Sort use statements in SQLStore
......................................................................


Sort use statements in SQLStore

Change-Id: I154fb4373f9d99b00d017e2630efe63270e18f36
---
M repo/includes/Query/SQLStore/DVHandler/BooleanHandler.php
M repo/includes/Query/SQLStore/DVHandler/EntityIdHandler.php
M repo/includes/Query/SQLStore/DVHandler/GeoCoordinateHandler.php
M repo/includes/Query/SQLStore/DVHandler/IriHandler.php
M repo/includes/Query/SQLStore/DVHandler/MonolingualTextHandler.php
M repo/includes/Query/SQLStore/DVHandler/NumberHandler.php
M repo/includes/Query/SQLStore/DVHandler/StringHandler.php
M repo/includes/Query/SQLStore/DataValueHandler.php
M repo/includes/Query/SQLStore/Engine.php
M repo/includes/Query/SQLStore/Setup.php
M repo/includes/Query/SQLStore/Store.php
M repo/includes/Query/SQLStore/Updater.php
12 files changed, 37 insertions(+), 39 deletions(-)

Approvals:
  Tobias Gritschacher: Verified; Looks good to me, approved
  jenkins-bot: Checked



diff --git a/repo/includes/Query/SQLStore/DVHandler/BooleanHandler.php 
b/repo/includes/Query/SQLStore/DVHandler/BooleanHandler.php
index e073cb8..60b8a21 100644
--- a/repo/includes/Query/SQLStore/DVHandler/BooleanHandler.php
+++ b/repo/includes/Query/SQLStore/DVHandler/BooleanHandler.php
@@ -2,12 +2,12 @@
 
 namespace Wikibase\Repo\Query\SQLStore\DVHandler;
 
-use Wikibase\Repo\Query\SQLStore\DataValueHandler;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
-use DataValues\DataValue;
 use DataValues\BooleanValue;
+use DataValues\DataValue;
 use InvalidArgumentException;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\TableDefinition;
+use Wikibase\Repo\Query\SQLStore\DataValueHandler;
 
 /**
  * Represents the mapping between Wikibase\BooleanValue and
diff --git a/repo/includes/Query/SQLStore/DVHandler/EntityIdHandler.php 
b/repo/includes/Query/SQLStore/DVHandler/EntityIdHandler.php
index 8381802..49f0447 100644
--- a/repo/includes/Query/SQLStore/DVHandler/EntityIdHandler.php
+++ b/repo/includes/Query/SQLStore/DVHandler/EntityIdHandler.php
@@ -2,12 +2,12 @@
 
 namespace Wikibase\Repo\Query\SQLStore\DVHandler;
 
-use Wikibase\Repo\Query\SQLStore\DataValueHandler;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
 use DataValues\DataValue;
-use Wikibase\EntityId;
 use InvalidArgumentException;
+use Wikibase\EntityId;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\TableDefinition;
+use Wikibase\Repo\Query\SQLStore\DataValueHandler;
 
 /**
  * Represents the mapping between Wikibase\EntityId and
diff --git a/repo/includes/Query/SQLStore/DVHandler/GeoCoordinateHandler.php 
b/repo/includes/Query/SQLStore/DVHandler/GeoCoordinateHandler.php
index 99fa5c1..722fcbc 100644
--- a/repo/includes/Query/SQLStore/DVHandler/GeoCoordinateHandler.php
+++ b/repo/includes/Query/SQLStore/DVHandler/GeoCoordinateHandler.php
@@ -2,12 +2,12 @@
 
 namespace Wikibase\Repo\Query\SQLStore\DVHandler;
 
-use Wikibase\Repo\Query\SQLStore\DataValueHandler;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
 use DataValues\DataValue;
 use DataValues\GeoCoordinateValue;
 use InvalidArgumentException;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\TableDefinition;
+use Wikibase\Repo\Query\SQLStore\DataValueHandler;
 
 /**
  * Represents the mapping between DataValues\GeoCoordinateValue and
diff --git a/repo/includes/Query/SQLStore/DVHandler/IriHandler.php 
b/repo/includes/Query/SQLStore/DVHandler/IriHandler.php
index 4dc25a5..e507134 100644
--- a/repo/includes/Query/SQLStore/DVHandler/IriHandler.php
+++ b/repo/includes/Query/SQLStore/DVHandler/IriHandler.php
@@ -2,13 +2,13 @@
 
 namespace Wikibase\Repo\Query\SQLStore\DVHandler;
 
-use Wikibase\Repo\Query\SQLStore\DataValueHandler;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
-use Wikibase\Repo\Database\FieldDefinition as FD;
 use DataValues\DataValue;
 use DataValues\IriValue;
 use InvalidArgumentException;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\FieldDefinition as FD;
+use Wikibase\Repo\Database\TableDefinition;
+use Wikibase\Repo\Query\SQLStore\DataValueHandler;
 
 /**
  * Represents the mapping between DataValues\IriValue and
diff --git a/repo/includes/Query/SQLStore/DVHandler/MonolingualTextHandler.php 
b/repo/includes/Query/SQLStore/DVHandler/MonolingualTextHandler.php
index af658d8..24e2522 100644
--- a/repo/includes/Query/SQLStore/DVHandler/MonolingualTextHandler.php
+++ b/repo/includes/Query/SQLStore/DVHandler/MonolingualTextHandler.php
@@ -2,12 +2,12 @@
 
 namespace Wikibase\Repo\Query\SQLStore\DVHandler;
 
-use Wikibase\Repo\Query\SQLStore\DataValueHandler;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
 use DataValues\DataValue;
 use DataValues\MonolingualTextValue;
 use InvalidArgumentException;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\TableDefinition;
+use Wikibase\Repo\Query\SQLStore\DataValueHandler;
 
 /**
  * Represents the mapping between DataValues\MonolingualTextValue and
diff --git a/repo/includes/Query/SQLStore/DVHandler/NumberHandler.php 
b/repo/includes/Query/SQLStore/DVHandler/NumberHandler.php
index 781c548..e3fd22b 100644
--- a/repo/includes/Query/SQLStore/DVHandler/NumberHandler.php
+++ b/repo/includes/Query/SQLStore/DVHandler/NumberHandler.php
@@ -2,12 +2,12 @@
 
 namespace Wikibase\Repo\Query\SQLStore\DVHandler;
 
-use Wikibase\Repo\Query\SQLStore\DataValueHandler;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
 use DataValues\DataValue;
 use DataValues\NumberValue;
 use InvalidArgumentException;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\TableDefinition;
+use Wikibase\Repo\Query\SQLStore\DataValueHandler;
 
 /**
  * Represents the mapping between Wikibase\NumberValue and
diff --git a/repo/includes/Query/SQLStore/DVHandler/StringHandler.php 
b/repo/includes/Query/SQLStore/DVHandler/StringHandler.php
index db45228..cee3186 100644
--- a/repo/includes/Query/SQLStore/DVHandler/StringHandler.php
+++ b/repo/includes/Query/SQLStore/DVHandler/StringHandler.php
@@ -2,12 +2,12 @@
 
 namespace Wikibase\Repo\Query\SQLStore\DVHandler;
 
-use Wikibase\Repo\Query\SQLStore\DataValueHandler;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
 use DataValues\DataValue;
 use DataValues\StringValue;
 use InvalidArgumentException;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\TableDefinition;
+use Wikibase\Repo\Query\SQLStore\DataValueHandler;
 
 /**
  * Represents the mapping between Wikibase\StringValue and
diff --git a/repo/includes/Query/SQLStore/DataValueHandler.php 
b/repo/includes/Query/SQLStore/DataValueHandler.php
index c2b0455..7d58927 100644
--- a/repo/includes/Query/SQLStore/DataValueHandler.php
+++ b/repo/includes/Query/SQLStore/DataValueHandler.php
@@ -2,8 +2,8 @@
 
 namespace Wikibase\Repo\Query\SQLStore;
 
-use Wikibase\Repo\Database\TableDefinition;
 use DataValues\DataValue;
+use Wikibase\Repo\Database\TableDefinition;
 
 /**
  * Represents the mapping between a DataValue type and the
diff --git a/repo/includes/Query/SQLStore/Engine.php 
b/repo/includes/Query/SQLStore/Engine.php
index 28e76e9..a30f44e 100644
--- a/repo/includes/Query/SQLStore/Engine.php
+++ b/repo/includes/Query/SQLStore/Engine.php
@@ -2,14 +2,12 @@
 
 namespace Wikibase\Repo\Query\SQLStore;
 
-use Wikibase\Repo\Query\QueryEngineResult;
-use Wikibase\Repo\Query\QueryEngine;
-use Wikibase\Repo\Database\QueryInterface;
-
-use Ask\Language\Query;
 use Ask\Language\Description\Description;
 use Ask\Language\Option\QueryOptions;
-use Ask\Language\Selection\SelectionRequest;
+use Ask\Language\Query;
+use Wikibase\Repo\Database\QueryInterface;
+use Wikibase\Repo\Query\QueryEngine;
+use Wikibase\Repo\Query\QueryEngineResult;
 
 /**
  * Simple query engine that works on top of the SQLStore.
diff --git a/repo/includes/Query/SQLStore/Setup.php 
b/repo/includes/Query/SQLStore/Setup.php
index 9be3f8c..c77af45 100644
--- a/repo/includes/Query/SQLStore/Setup.php
+++ b/repo/includes/Query/SQLStore/Setup.php
@@ -2,11 +2,11 @@
 
 namespace Wikibase\Repo\Query\SQLStore;
 
-use Wikibase\Repo\Database\TableBuilder;
-use Wikibase\Repo\Database\QueryInterface;
-use Wikibase\Repo\Database\TableDefinition;
-use Wikibase\Repo\Database\FieldDefinition;
 use MessageReporter;
+use Wikibase\Repo\Database\FieldDefinition;
+use Wikibase\Repo\Database\QueryInterface;
+use Wikibase\Repo\Database\TableBuilder;
+use Wikibase\Repo\Database\TableDefinition;
 
 /**
  * Setup for the SQLStore.
diff --git a/repo/includes/Query/SQLStore/Store.php 
b/repo/includes/Query/SQLStore/Store.php
index cec286c..f7d53d7 100644
--- a/repo/includes/Query/SQLStore/Store.php
+++ b/repo/includes/Query/SQLStore/Store.php
@@ -2,10 +2,10 @@
 
 namespace Wikibase\Repo\Query\SQLStore;
 
-use Wikibase\Repo\Query\QueryStore;
+use MessageReporter;
 use Wikibase\Repo\Database\QueryInterface;
 use Wikibase\Repo\Database\TableBuilder;
-use MessageReporter;
+use Wikibase\Repo\Query\QueryStore;
 
 /**
  * Simple query store for relational SQL databases.
diff --git a/repo/includes/Query/SQLStore/Updater.php 
b/repo/includes/Query/SQLStore/Updater.php
index 15aae88..535b557 100644
--- a/repo/includes/Query/SQLStore/Updater.php
+++ b/repo/includes/Query/SQLStore/Updater.php
@@ -2,9 +2,9 @@
 
 namespace Wikibase\Repo\Query\SQLStore;
 
-use Wikibase\Repo\Query\QueryStoreUpdater;
-use Wikibase\Repo\Database\QueryInterface;
 use Wikibase\Entity;
+use Wikibase\Repo\Database\QueryInterface;
+use Wikibase\Repo\Query\QueryStoreUpdater;
 
 /**
  * Class responsible for writing information to the SQLStore.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I154fb4373f9d99b00d017e2630efe63270e18f36
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to