Test Failed
Pull Request — master (#6648)
by Johan de
65:41
created
lib/Doctrine/ORM/Cache/DefaultEntityHydrator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 namespace Doctrine\ORM\Cache;
22 22
 
23 23
 use Doctrine\Common\Util\ClassUtils;
24
-
25 24
 use Doctrine\ORM\Query;
26 25
 use Doctrine\ORM\Mapping\ClassMetadata;
27 26
 use Doctrine\ORM\EntityManagerInterface;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use Doctrine\ORM\PersistentCollection;
32 32
 use Doctrine\ORM\EntityManagerInterface;
33 33
 use Doctrine\ORM\Persisters\Entity\EntityPersister;
34
-
35 34
 use Doctrine\Common\Util\ClassUtils;
36 35
 use Doctrine\Common\Collections\Criteria;
37 36
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/QueryExpressionVisitor.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\ORM\Query;
21 21
 
22 22
 use Doctrine\Common\Collections\ArrayCollection;
23
-
24 23
 use Doctrine\Common\Collections\Expr\ExpressionVisitor;
25 24
 use Doctrine\Common\Collections\Expr\Comparison;
26 25
 use Doctrine\Common\Collections\Expr\CompositeExpression;
Please login to merge, or discard this patch.
lib/Doctrine/ORM/QueryBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 use Doctrine\Common\Collections\ArrayCollection;
23 23
 use Doctrine\Common\Collections\Criteria;
24
-
25 24
 use Doctrine\ORM\Query\Expr;
26 25
 use Doctrine\ORM\Query\QueryExpressionVisitor;
27 26
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Tools/ConvertDoctrine1SchemaTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 use Doctrine\ORM\Mapping\Driver\YamlDriver;
26 26
 use Doctrine\ORM\Tools\Export\ClassMetadataExporter;
27 27
 use Doctrine\ORM\Tools\ConvertDoctrine1Schema;
28
-use Doctrine\Tests\Mocks\MetadataDriverMock;
29 28
 use Doctrine\Tests\Mocks\EntityManagerMock;
30 29
 use Doctrine\Tests\Mocks\ConnectionMock;
31 30
 use Doctrine\Tests\Mocks\DriverMock;
Please login to merge, or discard this patch.
tests/Doctrine/Performance/Mock/NonProxyLoadingEntityManager.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManagerInterface;
6 6
 use Doctrine\ORM\Proxy\ProxyFactory;
7
-use Doctrine\ORM\Query;
8 7
 use Doctrine\ORM\Query\ResultSetMapping;
9
-use Doctrine\Tests\ORM\Performance\MockUnitOfWork;
10 8
 
11 9
 /**
12 10
  * An entity manager mock that prevents lazy-loading of proxies
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Persisters/Entity/JoinedSubclassPersister.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,10 +20,8 @@
 block discarded – undo
20 20
 namespace Doctrine\ORM\Persisters\Entity;
21 21
 
22 22
 use Doctrine\ORM\Mapping\ClassMetadata;
23
-
24 23
 use Doctrine\DBAL\LockMode;
25 24
 use Doctrine\DBAL\Types\Type;
26
-
27 25
 use Doctrine\Common\Collections\Criteria;
28 26
 use Doctrine\ORM\Utility\PersisterHelper;
29 27
 
Please login to merge, or discard this patch.
Tests/ORM/Cache/Persister/Collection/AbstractCollectionPersisterTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,11 +6,9 @@
 block discarded – undo
6 6
 use Doctrine\ORM\Cache\Persister\Collection\CachedCollectionPersister;
7 7
 use Doctrine\ORM\PersistentCollection;
8 8
 use Doctrine\Tests\OrmTestCase;
9
-
10 9
 use Doctrine\ORM\Cache\Region;
11 10
 use Doctrine\ORM\EntityManager;
12 11
 use Doctrine\ORM\Persisters\Collection\CollectionPersister;
13
-
14 12
 use Doctrine\Tests\Models\Cache\State;
15 13
 use Doctrine\Common\Collections\ArrayCollection;
16 14
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/QueryTest.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,14 +3,13 @@
 block discarded – undo
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6
-
7 6
 use Doctrine\ORM\NonUniqueResultException;
8 7
 use Doctrine\ORM\Proxy\Proxy;
9 8
 use Doctrine\ORM\Query\QueryException;
10 9
 use Doctrine\ORM\UnexpectedResultException;
11
-use Doctrine\Tests\Models\CMS\CmsUser,
12
-    Doctrine\Tests\Models\CMS\CmsArticle,
13
-    Doctrine\Tests\Models\CMS\CmsPhonenumber;
10
+use Doctrine\Tests\Models\CMS\CmsUser;
11
+use Doctrine\Tests\Models\CMS\CmsArticle;
12
+use Doctrine\Tests\Models\CMS\CmsPhonenumber;
14 13
 use Doctrine\ORM\Mapping\ClassMetadata;
15 14
 use Doctrine\ORM\Query;
16 15
 use Doctrine\ORM\Query\Parameter;
Please login to merge, or discard this patch.