From 6d767116cc2c9f1dd0cf48ebc40cae869d8a5810 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 10 Feb 2015 13:20:54 -0500
Subject: [PATCH] Removed unused use statements.

---
 module/VuFind/src/VuFind/Controller/EITrecordController.php   | 1 -
 module/VuFind/src/VuFind/Controller/EdsController.php         | 1 -
 module/VuFind/src/VuFind/Db/Table/UserStatsFields.php         | 1 -
 module/VuFind/src/VuFind/ILS/Driver/Aleph.php                 | 2 --
 module/VuFind/src/VuFind/ILS/Driver/LBS4.php                  | 1 -
 module/VuFind/src/VuFind/Recommend/SpellingSuggestions.php    | 1 -
 module/VuFind/src/VuFind/Search/EDS/Options.php               | 1 -
 module/VuFind/src/VuFind/Search/EDS/Params.php                | 1 -
 module/VuFind/src/VuFind/Search/EDS/Results.php               | 2 --
 .../src/VuFind/Search/Factory/SolrDefaultBackendFactory.php   | 2 --
 .../src/VuFind/Search/Factory/SolrStatsBackendFactory.php     | 4 ----
 module/VuFind/src/VuFind/Search/Minified.php                  | 1 -
 .../VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php | 1 -
 module/VuFind/tests/bootstrap.php                             | 3 ---
 .../unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php | 2 --
 .../VuFindTest/Search/Solr/HierarchicalFacetHelperTest.php    | 1 -
 module/VuFindSearch/Module.php                                | 2 --
 .../VuFindSearch/src/VuFindSearch/Backend/AbstractBackend.php | 1 -
 module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php  | 3 ---
 .../Backend/EDS/Response/RecordCollectionFactory.php          | 1 -
 .../VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php  | 3 ---
 .../src/VuFindSearch/Backend/Solr/Document/CommitDocument.php | 2 --
 .../VuFindSearch/Backend/Solr/Document/OptimizeDocument.php   | 2 --
 .../src/VuFindSearch/Backend/Solr/Document/UpdateDocument.php | 1 -
 .../src/VuFindSearch/Backend/WorldCat/Connector.php           | 1 -
 .../src/VuFindSearch/Feature/RetrieveBatchInterface.php       | 3 ---
 .../src/VuFindSearch/Response/AbstractRecordCollection.php    | 2 --
 .../unit-tests/src/VuFindTest/Backend/EDS/BackendTest.php     | 2 --
 .../unit-tests/src/VuFindTest/Backend/EIT/BackendTest.php     | 2 --
 .../src/VuFindTest/Backend/LibGuides/BackendTest.php          | 1 -
 .../unit-tests/src/VuFindTest/Backend/Primo/BackendTest.php   | 2 --
 .../src/VuFindTest/Backend/WorldCat/BackendTest.php           | 2 --
 32 files changed, 55 deletions(-)

diff --git a/module/VuFind/src/VuFind/Controller/EITrecordController.php b/module/VuFind/src/VuFind/Controller/EITrecordController.php
index 49a82660b44..2fbd3d6c20a 100644
--- a/module/VuFind/src/VuFind/Controller/EITrecordController.php
+++ b/module/VuFind/src/VuFind/Controller/EITrecordController.php
@@ -27,7 +27,6 @@
  * @link     http://vufind.org   Main Site
  */
 namespace VuFind\Controller;
-use Zend\Mvc\MvcEvent;
 
 /**
  * EIT Record Controller
diff --git a/module/VuFind/src/VuFind/Controller/EdsController.php b/module/VuFind/src/VuFind/Controller/EdsController.php
index e554a26e2f2..a48d3ae95c8 100644
--- a/module/VuFind/src/VuFind/Controller/EdsController.php
+++ b/module/VuFind/src/VuFind/Controller/EdsController.php
@@ -27,7 +27,6 @@
  */
 namespace VuFind\Controller;
 
-use EBSCO\EdsApi\Zend2 as EdsApi;
 use VuFind\Solr\Utils as SolrUtils;
 /**
  * EDS Controller
diff --git a/module/VuFind/src/VuFind/Db/Table/UserStatsFields.php b/module/VuFind/src/VuFind/Db/Table/UserStatsFields.php
index b765b532ac2..eff244f7220 100644
--- a/module/VuFind/src/VuFind/Db/Table/UserStatsFields.php
+++ b/module/VuFind/src/VuFind/Db/Table/UserStatsFields.php
@@ -27,7 +27,6 @@
  */
 namespace VuFind\Db\Table;
 
-use Zend\Db\Sql\Expression;
 
 /**
  * Table Definition for statistics
diff --git a/module/VuFind/src/VuFind/ILS/Driver/Aleph.php b/module/VuFind/src/VuFind/ILS/Driver/Aleph.php
index 4820df24b3d..d07107c515f 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Aleph.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Aleph.php
@@ -37,8 +37,6 @@
  */
 namespace VuFind\ILS\Driver;
 use VuFind\Exception\ILS as ILSException;
-use VuFindHttp\HttpServiceInterface;
-use DateTime;
 use VuFind\Exception\Date as DateException;
 
 /**
diff --git a/module/VuFind/src/VuFind/ILS/Driver/LBS4.php b/module/VuFind/src/VuFind/ILS/Driver/LBS4.php
index 33d2076292a..3a03c59be99 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/LBS4.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/LBS4.php
@@ -26,7 +26,6 @@
 namespace VuFind\ILS\Driver;
 use VuFind\Exception\ILS as ILSException;
 use VuFind\I18n\Translator\TranslatorAwareInterface;
-use VuFind\ILS\Driver\AbstractBase as AbstractBase;
 
 /**
  * VuFind Connector for OCLC LBS4
diff --git a/module/VuFind/src/VuFind/Recommend/SpellingSuggestions.php b/module/VuFind/src/VuFind/Recommend/SpellingSuggestions.php
index c9842f01639..b123d0d33e4 100644
--- a/module/VuFind/src/VuFind/Recommend/SpellingSuggestions.php
+++ b/module/VuFind/src/VuFind/Recommend/SpellingSuggestions.php
@@ -27,7 +27,6 @@
  * @link     http://vufind.org/wiki/vufind2:recommendation_modules Wiki
  */
 namespace VuFind\Recommend;
-use VuFind\Search\BackendManager;
 
 /**
  * SpellingSuggestions Recommendations Module
diff --git a/module/VuFind/src/VuFind/Search/EDS/Options.php b/module/VuFind/src/VuFind/Search/EDS/Options.php
index 6643337ce34..e71d116610d 100644
--- a/module/VuFind/src/VuFind/Search/EDS/Options.php
+++ b/module/VuFind/src/VuFind/Search/EDS/Options.php
@@ -27,7 +27,6 @@
  */
 namespace VuFind\Search\EDS;
 
-use VuFindSearch\ParamBag;
 
 /**
  * EDS API Options
diff --git a/module/VuFind/src/VuFind/Search/EDS/Params.php b/module/VuFind/src/VuFind/Search/EDS/Params.php
index 25f4639b860..b627c9de7d4 100644
--- a/module/VuFind/src/VuFind/Search/EDS/Params.php
+++ b/module/VuFind/src/VuFind/Search/EDS/Params.php
@@ -28,7 +28,6 @@
 namespace VuFind\Search\EDS;
 use VuFindSearch\ParamBag;
 use VuFindSearch\Backend\EDS\SearchRequestModel as SearchRequestModel;
-use VuFind\Search\EDS\QueryAdapter;
 
 /**
  * EDS API Params
diff --git a/module/VuFind/src/VuFind/Search/EDS/Results.php b/module/VuFind/src/VuFind/Search/EDS/Results.php
index 20ed0de7055..2d0773c5f34 100644
--- a/module/VuFind/src/VuFind/Search/EDS/Results.php
+++ b/module/VuFind/src/VuFind/Search/EDS/Results.php
@@ -28,8 +28,6 @@
 namespace VuFind\Search\EDS;
 
 use EBSCO\EdsApi\SearchCriteria;
-use VuFindSearch\ParamBag;
-use Zend\Log\LoggerInterface;
 
 /**
  * EDS API Results
diff --git a/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php b/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php
index 90d5f6b75d8..526546a9ff2 100644
--- a/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php
+++ b/module/VuFind/src/VuFind/Search/Factory/SolrDefaultBackendFactory.php
@@ -28,13 +28,11 @@
  */
 namespace VuFind\Search\Factory;
 
-use VuFind\RecordDriver\PluginManager;
 
 use VuFindSearch\Backend\Solr\Response\Json\RecordCollectionFactory;
 use VuFindSearch\Backend\Solr\Connector;
 use VuFindSearch\Backend\Solr\Backend;
 
-use VuFind\Search\Listener\NormalizeSolrSort;
 
 /**
  * Factory for the default SOLR backend.
diff --git a/module/VuFind/src/VuFind/Search/Factory/SolrStatsBackendFactory.php b/module/VuFind/src/VuFind/Search/Factory/SolrStatsBackendFactory.php
index 60d3aa6f8da..0767206d7b3 100644
--- a/module/VuFind/src/VuFind/Search/Factory/SolrStatsBackendFactory.php
+++ b/module/VuFind/src/VuFind/Search/Factory/SolrStatsBackendFactory.php
@@ -28,13 +28,9 @@
  */
 namespace VuFind\Search\Factory;
 
-use VuFind\RecordDriver\PluginManager;
 
-use VuFindSearch\Backend\Solr\Response\Json\RecordCollectionFactory;
-use VuFindSearch\Backend\Solr\Connector;
 use VuFindSearch\Backend\Solr\Backend;
 
-use VuFind\Search\Listener\NormalizeSolrSort;
 
 /**
  * Factory for the default SOLR backend.
diff --git a/module/VuFind/src/VuFind/Search/Minified.php b/module/VuFind/src/VuFind/Search/Minified.php
index a148a120430..eb75470c6b6 100644
--- a/module/VuFind/src/VuFind/Search/Minified.php
+++ b/module/VuFind/src/VuFind/Search/Minified.php
@@ -26,7 +26,6 @@
  * @link     http://vufind.org/wiki/vufind2:developer_manual Wiki
  */
 namespace VuFind\Search;
-use VuFind\Search\QueryAdapter;
 
 /**
  * A minified search object used exclusively for trimming a search object down to its
diff --git a/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php b/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php
index 2dbba2e759e..52f39d75caa 100644
--- a/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php
+++ b/module/VuFind/src/VuFind/Search/Solr/HierarchicalFacetHelper.php
@@ -27,7 +27,6 @@
  */
 namespace VuFind\Search\Solr;
 
-use Zend\Mvc\Controller\AbstractActionController;
 
 /**
  * Functions for manipulating facets
diff --git a/module/VuFind/tests/bootstrap.php b/module/VuFind/tests/bootstrap.php
index d69ca1e6ed3..fb7be96e1be 100644
--- a/module/VuFind/tests/bootstrap.php
+++ b/module/VuFind/tests/bootstrap.php
@@ -1,7 +1,4 @@
 <?php
-use Zend\Loader\AutoloaderFactory;
-use Zend\ServiceManager\ServiceManager;
-use Zend\Mvc\Service\ServiceManagerConfig;
 
 // Set flag that we're in test mode
 define('VUFIND_PHPUNIT_RUNNING', 1);
diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php
index 534e2b15304..b25f3580195 100644
--- a/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php
+++ b/module/VuFind/tests/unit-tests/src/VuFindTest/ILS/Driver/MultiBackendTest.php
@@ -29,8 +29,6 @@
  */
 namespace VuFindTest\ILS\Driver;
 use VuFind\ILS\Driver\MultiBackend, VuFind\Config\Reader as ConfigReader;
-use VuFind\Auth\MultiAuth;
-use Zend\Log\Writer\WriterInterface;
 use Zend\Log\Writer\Mock;
 use Zend\Log\Logger;
 
diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/HierarchicalFacetHelperTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/HierarchicalFacetHelperTest.php
index a4431df0854..5357d76ad3e 100644
--- a/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/HierarchicalFacetHelperTest.php
+++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Search/Solr/HierarchicalFacetHelperTest.php
@@ -30,7 +30,6 @@
 namespace VuFindTest\Search\Solr;
 
 use VuFindTest\Unit\TestCase;
-use Zend\EventManager\Event;
 use VuFind\Search\Solr\HierarchicalFacetHelper;
 
 /**
diff --git a/module/VuFindSearch/Module.php b/module/VuFindSearch/Module.php
index aa9d3122c4d..ae7d99a9240 100644
--- a/module/VuFindSearch/Module.php
+++ b/module/VuFindSearch/Module.php
@@ -29,8 +29,6 @@
 
 namespace VuFindSearch;
 
-use Zend\ServiceManager\ServiceManager;
-use Zend\EventManager\EventManager;
 
 /**
  * ZF2 module definition for the VF2 search service.
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/AbstractBackend.php b/module/VuFindSearch/src/VuFindSearch/Backend/AbstractBackend.php
index 438badc801d..8895dfff766 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/AbstractBackend.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/AbstractBackend.php
@@ -30,7 +30,6 @@ namespace VuFindSearch\Backend;
 use VuFindSearch\Response\RecordCollectionInterface;
 use VuFindSearch\Response\RecordCollectionFactoryInterface;
 
-use VuFindSearch\Backend\BackendInterface;
 
 use Zend\Log\LoggerAwareInterface;
 
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php
index 1b3e00ad2aa..81910efa6eb 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php
@@ -39,9 +39,6 @@ use VuFindSearch\Response\RecordCollectionFactoryInterface;
 use VuFindSearch\Backend\AbstractBackend;
 use VuFindSearch\Backend\Exception\BackendException;
 
-use Zend\Log\LoggerInterface;
-use VuFindSearch\Backend\EDS\Response\RecordCollection;
-use VuFindSearch\Backend\EDS\Response\RecordCollectionFactory;
 
 use Zend\Cache\Storage\Adapter\AbstractAdapter as CacheAdapter;
 use Zend\Config\Config;
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Response/RecordCollectionFactory.php b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Response/RecordCollectionFactory.php
index 6be87d0e092..3dc58315aa1 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Response/RecordCollectionFactory.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Response/RecordCollectionFactory.php
@@ -29,7 +29,6 @@ namespace VuFindSearch\Backend\EDS\Response;
 
 use VuFindSearch\Response\RecordCollectionFactoryInterface;
 use VuFindSearch\Exception\InvalidArgumentException;
-use VuFindSearch\Backend\EDS\Response\RecordCollection;
 
 /**
  * Factory for record collection.
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php
index 1029c535aa5..c3eb4fd8c37 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Connector.php
@@ -31,8 +31,6 @@
 
 namespace VuFindSearch\Backend\Solr;
 
-use VuFindSearch\Query\AbstractQuery;
-use VuFindSearch\Query\QueryGroup;
 use VuFindSearch\Query\Query;
 
 use VuFindSearch\ParamBag;
@@ -46,7 +44,6 @@ use Zend\Http\Client as HttpClient;
 use Zend\Http\Client\Adapter\AdapterInterface;
 
 use InvalidArgumentException;
-use XMLWriter;
 
 /**
  * SOLR connector.
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/CommitDocument.php b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/CommitDocument.php
index 8692b027bff..6ddf58dc9c5 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/CommitDocument.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/CommitDocument.php
@@ -29,8 +29,6 @@
 
 namespace VuFindSearch\Backend\Solr\Document;
 
-use VuFindSearch\Backend\Solr\Record\SerializableRecordInterface;
-use VuFindSearch\Response\RecordInterface;
 
 use XMLWriter;
 
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/OptimizeDocument.php b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/OptimizeDocument.php
index abf0358c2d9..fa645eec9e0 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/OptimizeDocument.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/OptimizeDocument.php
@@ -29,8 +29,6 @@
 
 namespace VuFindSearch\Backend\Solr\Document;
 
-use VuFindSearch\Backend\Solr\Record\SerializableRecordInterface;
-use VuFindSearch\Response\RecordInterface;
 
 use XMLWriter;
 
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/UpdateDocument.php b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/UpdateDocument.php
index d04a336399a..45ac4431265 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/UpdateDocument.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/Solr/Document/UpdateDocument.php
@@ -30,7 +30,6 @@
 namespace VuFindSearch\Backend\Solr\Document;
 
 use VuFindSearch\Backend\Solr\Record\SerializableRecordInterface;
-use VuFindSearch\Response\RecordInterface;
 
 use SplObjectStorage;
 use XMLWriter;
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/WorldCat/Connector.php b/module/VuFindSearch/src/VuFindSearch/Backend/WorldCat/Connector.php
index e67cec99744..e9e595fbfd7 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/WorldCat/Connector.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/WorldCat/Connector.php
@@ -27,7 +27,6 @@
  * @link     http://vufind.org/wiki/vufind2:developer_manual Wiki
  */
 namespace VuFindSearch\Backend\WorldCat;
-use VuFindSearch\Query\AbstractQuery;
 use VuFindSearch\ParamBag;
 
 /**
diff --git a/module/VuFindSearch/src/VuFindSearch/Feature/RetrieveBatchInterface.php b/module/VuFindSearch/src/VuFindSearch/Feature/RetrieveBatchInterface.php
index 75704dda17e..c8ef2b12417 100644
--- a/module/VuFindSearch/src/VuFindSearch/Feature/RetrieveBatchInterface.php
+++ b/module/VuFindSearch/src/VuFindSearch/Feature/RetrieveBatchInterface.php
@@ -29,9 +29,6 @@
 
 namespace VuFindSearch\Feature;
 
-use VuFindSearch\Query\AbstractQuery;
-use VuFindSearch\Query\QueryGroup;
-use VuFindSearch\Query\Query;
 
 use VuFindSearch\ParamBag;
 
diff --git a/module/VuFindSearch/src/VuFindSearch/Response/AbstractRecordCollection.php b/module/VuFindSearch/src/VuFindSearch/Response/AbstractRecordCollection.php
index fbbcb540c0b..d7b186b5144 100644
--- a/module/VuFindSearch/src/VuFindSearch/Response/AbstractRecordCollection.php
+++ b/module/VuFindSearch/src/VuFindSearch/Response/AbstractRecordCollection.php
@@ -29,8 +29,6 @@
 
 namespace VuFindSearch\Response;
 
-use VuFindSearch\Response\RecordCollectionInterface;
-use VuFindSearch\Response\RecordInterface;
 
 /**
  * Abstract record collection (implements some shared low-level functionality).
diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/BackendTest.php
index 0ff9eaaebc5..b7d6be2e371 100644
--- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/BackendTest.php
+++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EDS/BackendTest.php
@@ -31,9 +31,7 @@ namespace VuFindTest\Backend\EDS;
 
 use VuFindSearch\Backend\EDS\Backend;
 use VuFindSearch\Backend\EDS\Response\RecordCollectionFactory;
-use VuFindSearch\ParamBag;
 use VuFindSearch\Query\Query;
-use PHPUnit_Framework_TestCase;
 use InvalidArgumentException;
 
 /**
diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/BackendTest.php
index 45b3c72d485..e05f21d569e 100644
--- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/BackendTest.php
+++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/EIT/BackendTest.php
@@ -32,9 +32,7 @@ namespace VuFindTest\Backend\EIT;
 use VuFindSearch\Backend\EIT\Backend;
 use VuFindSearch\Backend\EIT\QueryBuilder;
 use VuFindSearch\Backend\EIT\Response\RecordCollectionFactory;
-use VuFindSearch\ParamBag;
 use VuFindSearch\Query\Query;
-use PHPUnit_Framework_TestCase;
 use InvalidArgumentException;
 
 /**
diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/BackendTest.php
index 5d0b764304c..c633f6bbd00 100644
--- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/BackendTest.php
+++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/LibGuides/BackendTest.php
@@ -37,7 +37,6 @@ use Zend\Http\Client\Adapter\Test as TestAdapter;
 use Zend\Http\Client as HttpClient;
 use VuFindSearch\ParamBag;
 use VuFindSearch\Query\Query;
-use PHPUnit_Framework_TestCase;
 use InvalidArgumentException;
 
 /**
diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/BackendTest.php
index 9f1dbf23aba..a0b4d9d2639 100644
--- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/BackendTest.php
+++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/Primo/BackendTest.php
@@ -30,10 +30,8 @@
 namespace VuFindTest\Backend\Primo;
 
 use VuFindSearch\Backend\Primo\Backend;
-use VuFindSearch\Backend\Primo\Response\RecordCollectionFactory;
 use VuFindSearch\ParamBag;
 use VuFindSearch\Query\Query;
-use PHPUnit_Framework_TestCase;
 use InvalidArgumentException;
 
 /**
diff --git a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php
index a148f030e3e..558f51dffdf 100644
--- a/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php
+++ b/module/VuFindSearch/tests/unit-tests/src/VuFindTest/Backend/WorldCat/BackendTest.php
@@ -30,8 +30,6 @@
 namespace VuFindTest\Backend\WorldCat;
 
 use VuFindSearch\Backend\WorldCat\Backend;
-use VuFindSearch\Backend\WorldCat\Response\XML\RecordCollectionFactory;
-use VuFindSearch\ParamBag;
 use VuFindSearch\Query\Query;
 use PHPUnit_Framework_TestCase;
 use InvalidArgumentException;
-- 
GitLab