Completed
Pull Request — master (#5626)
by Gary
09:09
created
lib/Shitty/ORM/AbstractQuery.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -22,13 +22,10 @@
 block discarded – undo
22 22
 use Shitty\Common\Util\ClassUtils;
23 23
 use Shitty\Common\Collections\Collection;
24 24
 use Shitty\Common\Collections\ArrayCollection;
25
-
26 25
 use Shitty\ORM\Query\Parameter;
27 26
 use Shitty\ORM\Cache\QueryCacheKey;
28 27
 use Shitty\DBAL\Cache\QueryCacheProfile;
29
-
30 28
 use Shitty\ORM\Cache;
31
-use Shitty\ORM\Query\QueryException;
32 29
 
33 30
 /**
34 31
  * Base contract for ORM queries. Base class for Query and NativeQuery.
Please login to merge, or discard this patch.
lib/Shitty/ORM/Cache/Persister/Entity/AbstractEntityPersister.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.
lib/Shitty/ORM/Internal/Hydration/ObjectHydrator.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,6 @@
 block discarded – undo
24 24
 use Shitty\ORM\Mapping\ClassMetadata;
25 25
 use Shitty\ORM\PersistentCollection;
26 26
 use Shitty\ORM\Query;
27
-use Shitty\ORM\Events;
28
-use Shitty\ORM\Event\LifecycleEventArgs;
29
-use Shitty\ORM\Event\PostLoadEventDispatcher;
30 27
 use Shitty\Common\Collections\ArrayCollection;
31 28
 use Shitty\ORM\Proxy\Proxy;
32 29
 
Please login to merge, or discard this patch.
lib/Shitty/ORM/Internal/Hydration/SimpleObjectHydrator.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 Shitty\ORM\Internal\Hydration;
21 21
 
22 22
 use PDO;
23
-use Shitty\DBAL\Types\Type;
24 23
 use Shitty\ORM\Mapping\ClassMetadata;
25 24
 use Shitty\ORM\Query;
26 25
 
Please login to merge, or discard this patch.
lib/Shitty/ORM/Persisters/Entity/JoinedSubclassPersister.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -20,11 +20,8 @@
 block discarded – undo
20 20
 namespace Shitty\ORM\Persisters\Entity;
21 21
 
22 22
 use Shitty\ORM\Mapping\ClassMetadata;
23
-use Shitty\ORM\Query\ResultSetMapping;
24
-
25 23
 use Shitty\DBAL\LockMode;
26 24
 use Shitty\DBAL\Types\Type;
27
-
28 25
 use Shitty\Common\Collections\Criteria;
29 26
 use Shitty\ORM\Utility\PersisterHelper;
30 27
 
Please login to merge, or discard this patch.
lib/Shitty/ORM/Query/QueryExpressionVisitor.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.
lib/Shitty/ORM/Query/ResultSetMappingBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 namespace Shitty\ORM\Query;
21 21
 
22
-use Shitty\DBAL\Types\Type;
23 22
 use Shitty\ORM\EntityManagerInterface;
24 23
 use Shitty\ORM\Mapping\ClassMetadataInfo;
25 24
 use Shitty\ORM\Mapping\MappingException;
Please login to merge, or discard this patch.
lib/Shitty/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.
lib/Shitty/ORM/Tools/Console/ConsoleRunner.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.