Completed
Pull Request — master (#123)
by Simon
03:20
created
lib/Doctrine/ODM/CouchDB/Configuration.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -21,11 +21,6 @@
 block discarded – undo
21 21
 
22 22
 use Doctrine\Common\Cache\Cache;
23 23
 use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
24
-
25
-use Doctrine\CouchDB\HTTP\Client;
26
-use Doctrine\CouchDB\HTTP\SocketClient;
27
-use Doctrine\CouchDB\HTTP\LoggingClient;
28
-
29 24
 use Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver;
30 25
 use Doctrine\ODM\CouchDB\Mapping\MetadataResolver\DoctrineResolver;
31 26
 use Doctrine\ODM\CouchDB\Migrations\DocumentMigration;
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadataFactory.php 1 patch
Unused Use Statements   +6 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,14 +19,12 @@
 block discarded – undo
19 19
 
20 20
 namespace Doctrine\ODM\CouchDB\Mapping;
21 21
 
22
-use Doctrine\ODM\CouchDB\DocumentManager,
23
-    Doctrine\ODM\CouchDB\CouchDBException,
24
-    Doctrine\ODM\CouchDB\Mapping\ClassMetadata,
25
-    Doctrine\Common\Persistence\Mapping\Driver\MappingDriver,
26
-    Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface,
27
-    Doctrine\Common\Persistence\Mapping\ReflectionService,
28
-    Doctrine\Common\Persistence\Mapping\RuntimeReflectionService,
29
-    Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory;
22
+use Doctrine\ODM\CouchDB\DocumentManager;
23
+use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
24
+use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
25
+use Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface;
26
+use Doctrine\Common\Persistence\Mapping\ReflectionService;
27
+use Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory;
30 28
 
31 29
 /**
32 30
  * The ClassMetadataFactory is used to create ClassMetadata objects that contain all the
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/Driver/XmlDriver.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,11 +19,10 @@
 block discarded – undo
19 19
 
20 20
 namespace Doctrine\ODM\CouchDB\Mapping\Driver;
21 21
 
22
-use Doctrine\Common\Persistence\Mapping\Driver\FileDriver,
23
-    Doctrine\Common\Persistence\Mapping\ClassMetadata,
24
-    Doctrine\ODM\CouchDB\Mapping\MappingException,
25
-    Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException,
26
-    SimpleXmlElement;
22
+use Doctrine\Common\Persistence\Mapping\Driver\FileDriver;
23
+use Doctrine\Common\Persistence\Mapping\ClassMetadata;
24
+use Doctrine\ODM\CouchDB\Mapping\MappingException;
25
+use Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException;
27 26
 
28 27
 /**
29 28
  * XmlDriver is a metadata driver that enables mapping through XML files.
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/Driver/YamlDriver.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
 
20 20
 namespace Doctrine\ODM\CouchDB\Mapping\Driver;
21 21
 
22
-use Doctrine\Common\Persistence\Mapping\Driver\FileDriver,
23
-    Doctrine\Common\Persistence\Mapping\ClassMetadata,
24
-    Doctrine\ODM\CouchDB\Mapping\MappingException,
25
-    Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException,
26
-    Symfony\Component\Yaml\Yaml;
22
+use Doctrine\Common\Persistence\Mapping\Driver\FileDriver;
23
+use Doctrine\Common\Persistence\Mapping\ClassMetadata;
24
+use Doctrine\ODM\CouchDB\Mapping\MappingException;
25
+use Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException;
26
+use Symfony\Component\Yaml\Yaml;
27 27
 
28 28
 /**
29 29
  * The YamlDriver reads the mapping metadata from yaml schema files.
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/EmbeddedDocumentSerializer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 namespace Doctrine\ODM\CouchDB\Mapping;
21 21
 
22 22
 use Doctrine\Common\Collections\ArrayCollection;
23
-use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
24 23
 use Doctrine\ODM\CouchDB\Types\Type;
25 24
 use Doctrine\Common\Util\ClassUtils;
26 25
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ODM/CouchDB/CouchDBFunctionalTestCase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Doctrine\ODM\CouchDB\Configuration;
9 9
 use Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver;
10 10
 use Doctrine\Common\Cache\ArrayCache;
11
-use Doctrine\Common\Annotations\AnnotationReader;
12 11
 
13 12
 abstract class CouchDBFunctionalTestCase extends \PHPUnit_Framework_TestCase
14 13
 {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ODM/CouchDB/Functional/EmbedManyTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Doctrine\Tests\Models\Embedded\Embedded;
5 5
 use Doctrine\Tests\Models\Embedded\Embedder;
6
-use Doctrine\Tests\Models\Embedded\Nested;
7 6
 
8 7
 class EmbedManyTest extends \Doctrine\Tests\ODM\CouchDB\CouchDBFunctionalTestCase
9 8
 {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ODM/CouchDB/Proxy/ProxyFactoryTest.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -8,12 +8,7 @@
 block discarded – undo
8 8
 use Doctrine\ODM\CouchDB\UnitOfWork;
9 9
 use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
10 10
 use Doctrine\ODM\CouchDB\Mapping\ClassMetadataFactory;
11
-
12
-use Doctrine\Tests\Models\ECommerce\ECommerceCart;
13
-use Doctrine\Tests\Models\ECommerce\ECommerceCustomer;
14 11
 use Doctrine\Tests\Models\ECommerce\ECommerceFeature;
15
-use Doctrine\Tests\Models\ECommerce\ECommerceProduct;
16
-use Doctrine\Tests\Models\ECommerce\ECommerceShipping;
17 12
 
18 13
 /**
19 14
  * Test the proxy factory.
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ODM/CouchDB/UnitOfWorkTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\ODM\CouchDB\UnitOfWork;
6 6
 use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
7 7
 use Doctrine\ODM\CouchDB\Id\idGenerator;
8
-
9 8
 use Doctrine\Common\Persistence\Mapping\RuntimeReflectionService;
10 9
 
11 10
 class UnitOfWorkTest extends CouchDBTestCase
Please login to merge, or discard this patch.