Completed
Pull Request — master (#154)
by
unknown
02:14 queued 37s
created
lib/Doctrine/ODM/CouchDB/Configuration.php 1 patch
Unused Use Statements   +7 added lines, -12 removed lines patch added patch discarded remove patch
@@ -2,18 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB;
4 4
 
5
-use Doctrine\Common\Cache\Cache;
6
-use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
7
-
8
-use Doctrine\CouchDB\HTTP\Client;
9
-use Doctrine\CouchDB\HTTP\SocketClient;
10
-use Doctrine\CouchDB\HTTP\LoggingClient;
11
-
12
-use Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver;
13
-use Doctrine\ODM\CouchDB\Mapping\MetadataResolver\DoctrineResolver;
14
-use Doctrine\ODM\CouchDB\Migrations\DocumentMigration;
15
-use Doctrine\ODM\CouchDB\Proxy\ProxyFactory;
16
-use ProxyManager\Configuration as ProxyManagerConfiguration;
5
+use Doctrine\Common\Cache\Cache;
6
+use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
7
+use Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver;
8
+use Doctrine\ODM\CouchDB\Mapping\MetadataResolver\DoctrineResolver;
9
+use Doctrine\ODM\CouchDB\Migrations\DocumentMigration;
10
+use Doctrine\ODM\CouchDB\Proxy\ProxyFactory;
11
+use ProxyManager\Configuration as ProxyManagerConfiguration;
17 12
 use ProxyManager\Factory\LazyLoadingGhostFactory;
18 13
 
19 14
 /**
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/DocumentManager.php 1 patch
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB;
4 4
 
5
-use Doctrine\Common\EventManager;
6
-use Doctrine\Common\Persistence\ObjectManager;
7
-use Doctrine\CouchDB\CouchDBClient;
8
-use Doctrine\CouchDB\View;
9
-use Doctrine\CouchDB\View\Query;
10
-use Doctrine\ODM\CouchDB\Mapping\ClassMetadataFactory;
11
-use Doctrine\ODM\CouchDB\View\ODMQuery;
12
-use Doctrine\ODM\CouchDB\View\ODMLuceneQuery;
5
+use Doctrine\Common\EventManager;
6
+use Doctrine\Common\Persistence\ObjectManager;
7
+use Doctrine\CouchDB\CouchDBClient;
8
+use Doctrine\CouchDB\View;
9
+use Doctrine\CouchDB\View\Query;
10
+use Doctrine\ODM\CouchDB\Mapping\ClassMetadataFactory;
11
+use Doctrine\ODM\CouchDB\View\ODMQuery;
12
+use Doctrine\ODM\CouchDB\View\ODMLuceneQuery;
13 13
 use Doctrine\ODM\CouchDB\CouchDBException;
14 14
 
15 15
 class DocumentManager implements ObjectManager
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadata.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB\Mapping;
4 4
 
5
-use Doctrine\Common\Persistence\Mapping\ClassMetadata AS IClassMetadata,
6
-    Doctrine\Instantiator\Instantiator,
7
-    ReflectionClass,
8
-    ReflectionProperty;
5
+use Doctrine\Common\Persistence\Mapping\ClassMetadata as IClassMetadata;
6
+use Doctrine\Instantiator\Instantiator;
7
+use ReflectionClass;
8
+use ReflectionProperty;
9 9
 
10 10
 /**
11 11
  * Metadata class
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/ClassMetadataFactory.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB\Mapping;
4 4
 
5
-use Doctrine\ODM\CouchDB\DocumentManager,
6
-    Doctrine\Common\Persistence\Mapping\Driver\MappingDriver,
7
-    Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface,
8
-    Doctrine\Common\Persistence\Mapping\ReflectionService,
9
-    Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory;
5
+use Doctrine\ODM\CouchDB\DocumentManager;
6
+use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
7
+use Doctrine\Common\Persistence\Mapping\ClassMetadata as ClassMetadataInterface;
8
+use Doctrine\Common\Persistence\Mapping\ReflectionService;
9
+use Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory;
10 10
 
11 11
 /**
12 12
  * 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/AnnotationDriver.php 1 patch
Unused Use Statements   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,13 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB\Mapping\Driver;
4 4
 
5
-use Doctrine\Common\Annotations\AnnotationReader,
6
-    Doctrine\Common\Annotations\AnnotationRegistry,
7
-    Doctrine\Common\Annotations\Reader,
8
-    Doctrine\Common\Persistence\Mapping\ClassMetadata,
9
-    Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver as AbstractAnnotationDriver,
10
-    Doctrine\ODM\CouchDB\Mapping\Annotations as ODM,
11
-    Doctrine\ODM\CouchDB\Mapping\MappingException;
5
+use Doctrine\Common\Persistence\Mapping\ClassMetadata;
6
+use Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver as AbstractAnnotationDriver;
7
+use Doctrine\ODM\CouchDB\Mapping\Annotations as ODM;
8
+use Doctrine\ODM\CouchDB\Mapping\MappingException;
12 9
 
13 10
 /**
14 11
  * The AnnotationDriver reads the mapping metadata from docblock annotations.
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
@@ -2,11 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB\Mapping\Driver;
4 4
 
5
-use Doctrine\Common\Persistence\Mapping\Driver\FileDriver,
6
-    Doctrine\Common\Persistence\Mapping\ClassMetadata,
7
-    Doctrine\ODM\CouchDB\Mapping\MappingException,
8
-    Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException,
9
-    SimpleXmlElement;
5
+use Doctrine\Common\Persistence\Mapping\Driver\FileDriver;
6
+use Doctrine\Common\Persistence\Mapping\ClassMetadata;
7
+use Doctrine\ODM\CouchDB\Mapping\MappingException;
8
+use Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException;
10 9
 
11 10
 /**
12 11
  * 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
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB\Mapping\Driver;
4 4
 
5
-use Doctrine\Common\Persistence\Mapping\Driver\FileDriver,
6
-    Doctrine\Common\Persistence\Mapping\ClassMetadata,
7
-    Doctrine\ODM\CouchDB\Mapping\MappingException,
8
-    Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException,
9
-    Symfony\Component\Yaml\Yaml;
5
+use Doctrine\Common\Persistence\Mapping\Driver\FileDriver;
6
+use Doctrine\Common\Persistence\Mapping\ClassMetadata;
7
+use Doctrine\ODM\CouchDB\Mapping\MappingException;
8
+use Doctrine\Common\Persistence\Mapping\MappingException as DoctrineMappingException;
9
+use Symfony\Component\Yaml\Yaml;
10 10
 
11 11
 /**
12 12
  * 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   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB\Mapping;
4 4
 
5
-use Doctrine\Common\Collections\ArrayCollection;
6
-use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
7
-use Doctrine\ODM\CouchDB\Types\Type;
5
+use Doctrine\Common\Collections\ArrayCollection;
6
+use Doctrine\ODM\CouchDB\Types\Type;
8 7
 use Doctrine\Common\Util\ClassUtils;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Mapping/MetadataResolver/DoctrineResolver.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 
4 4
 namespace Doctrine\ODM\CouchDB\Mapping\MetadataResolver;
5 5
 
6
-use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
7
-use Doctrine\ODM\CouchDB\DocumentManager;
8
-use Doctrine\ODM\CouchDB\PersistentIdsCollection;
6
+use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
7
+use Doctrine\ODM\CouchDB\DocumentManager;
8
+use Doctrine\ODM\CouchDB\PersistentIdsCollection;
9 9
 use Doctrine\Common\Collections\ArrayCollection;
10 10
 
11 11
 class DoctrineResolver implements MetadataResolver
Please login to merge, or discard this patch.