Completed
Pull Request — master (#154)
by
unknown
02:14 queued 37s
created
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/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.
tests/Doctrine/Tests/ODM/CouchDB/View/DoctrineAssociationsTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ODM\CouchDB\View;
4 4
 
5
-use Doctrine\CouchDB\HTTP\SocketClient;
6 5
 use Doctrine\CouchDB\View\Query;
7 6
 use Doctrine\ODM\CouchDB\View\DoctrineAssociations;
8
-use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
9 7
 use Doctrine\Tests\ODM\CouchDB\CouchDBFunctionalTestCase;
10 8
 
11 9
 class DoctrineAssociationsTest extends CouchDBFunctionalTestCase
Please login to merge, or discard this patch.
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.