Completed
Pull Request — master (#154)
by
unknown
02:14 queued 37s
created
lib/Doctrine/ODM/CouchDB/Tools/Console/Command/GenerateProxiesCommand.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\Tools\Console\Command;
4 4
 
5
-use Symfony\Component\Console\Input\InputArgument,
6
-    Symfony\Component\Console\Input\InputOption,
7
-    Symfony\Component\Console,
8
-    Doctrine\ODM\CouchDB\Tools\Console\MetadataFilter;
5
+use Symfony\Component\Console\Input\InputArgument;
6
+use Symfony\Component\Console\Input\InputOption;
7
+use Symfony\Component\Console;
8
+use Doctrine\ODM\CouchDB\Tools\Console\MetadataFilter;
9 9
 
10 10
 /**
11 11
  * Command to (re)generate the proxy classes used by doctrine.
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/Tools/Console/Command/UpdateDesignDocCommand.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\Tools\Console\Command;
4 4
 
5
-use Symfony\Component\Console\Input\InputArgument,
6
-    Symfony\Component\Console\Input\InputOption,
7
-    Symfony\Component\Console\Input\InputInterface,
8
-    Symfony\Component\Console\Output\OutputInterface,
9
-    Symfony\Component\Console\Command\Command;
5
+use Symfony\Component\Console\Input\InputArgument;
6
+use Symfony\Component\Console\Input\InputInterface;
7
+use Symfony\Component\Console\Output\OutputInterface;
8
+use Symfony\Component\Console\Command\Command;
10 9
 
11 10
 class UpdateDesignDocCommand extends Command
12 11
 {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/UnitOfWork.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -128,6 +128,9 @@
 block discarded – undo
128 128
                                                                            $this->metadataResolver);
129 129
     }
130 130
 
131
+    /**
132
+     * @param string $documentName
133
+     */
131 134
     private function assertValidDocumentType($documentName, $document, $type)
132 135
     {
133 136
         if ($documentName && !($document instanceof $documentName)) {
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\ODM\CouchDB;
4 4
 
5
-use Doctrine\CouchDB\Attachment;
6
-use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
7
-use Doctrine\ODM\CouchDB\Types\Type;
8
-use Doctrine\Common\Collections\Collection;
9
-use Doctrine\Common\Collections\ArrayCollection;
10
-use Doctrine\CouchDB\HTTP\HTTPException;
5
+use Doctrine\CouchDB\Attachment;
6
+use Doctrine\ODM\CouchDB\Mapping\ClassMetadata;
7
+use Doctrine\ODM\CouchDB\Types\Type;
8
+use Doctrine\Common\Collections\Collection;
9
+use Doctrine\Common\Collections\ArrayCollection;
10
+use Doctrine\CouchDB\HTTP\HTTPException;
11 11
 use ProxyManager\Proxy\GhostObjectInterface;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/View/ODMLuceneQuery.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 
4 4
 namespace Doctrine\ODM\CouchDB\View;
5 5
 
6
-use Doctrine\CouchDB\View\LuceneQuery;
6
+use Doctrine\CouchDB\View\LuceneQuery;
7 7
 use Doctrine\ODM\CouchDB\DocumentManager;
8 8
 
9 9
 class ODMLuceneQuery extends LuceneQuery
Please login to merge, or discard this patch.
lib/Doctrine/ODM/CouchDB/View/ODMQuery.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 
4 4
 namespace Doctrine\ODM\CouchDB\View;
5 5
 
6
-use Doctrine\CouchDB\View\Query;
6
+use Doctrine\CouchDB\View\Query;
7 7
 use Doctrine\ODM\CouchDB\DocumentManager;
8 8
 
9 9
 class ODMQuery extends Query
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ODM/CouchDB/Proxy/ProxyFactoryTest.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\Common\Persistence\Mapping\RuntimeReflectionService;
6 6
 use Doctrine\ODM\CouchDB\Configuration;
7 7
 use Doctrine\ODM\CouchDB\Proxy\StaticProxyFactory;
8
-
9 8
 use ProxyManager\Proxy\GhostObjectInterface;
10 9
 
11 10
 /**
Please login to merge, or discard this patch.