Completed
Pull Request — master (#5823)
by Mikhail
13:41
created
lib/Doctrine/ORM/UnitOfWork.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@  discard block
 block discarded – undo
26 26
 use Exception;
27 27
 use InvalidArgumentException;
28 28
 use UnexpectedValueException;
29
-
30 29
 use Doctrine\Common\Collections\ArrayCollection;
31 30
 use Doctrine\Common\Collections\Collection;
32 31
 use Doctrine\Common\NotifyPropertyChanged;
@@ -34,14 +33,12 @@  discard block
 block discarded – undo
34 33
 use Doctrine\Common\Persistence\ObjectManagerAware;
35 34
 use Doctrine\ORM\Mapping\ClassMetadata;
36 35
 use Doctrine\ORM\Proxy\Proxy;
37
-
38 36
 use Doctrine\ORM\Event\LifecycleEventArgs;
39 37
 use Doctrine\ORM\Event\PreUpdateEventArgs;
40 38
 use Doctrine\ORM\Event\PreFlushEventArgs;
41 39
 use Doctrine\ORM\Event\OnFlushEventArgs;
42 40
 use Doctrine\ORM\Event\PostFlushEventArgs;
43 41
 use Doctrine\ORM\Event\ListenersInvoker;
44
-
45 42
 use Doctrine\ORM\Cache\Persister\CachedPersister;
46 43
 use Doctrine\ORM\Persisters\Entity\BasicEntityPersister;
47 44
 use Doctrine\ORM\Persisters\Entity\SingleTablePersister;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/AdvancedAssociationTest.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 
183 183
 	/**
184 184
      *
185
-     * @param kateglo\application\models\Type $type
185
+     * @param Type $type
186 186
      * @return void
187 187
      */
188 188
 	public function addType(Type $type){
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     /**
196 196
      *
197
-     * @param kateglo\application\models\Type $type
197
+     * @param Type $type
198 198
      * @return void
199 199
      */
200 200
     public function removeType(Type $type)
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 
305 305
 	/**
306 306
 	 *
307
-	 * @param kateglo\application\models\Lemma $lemma
307
+	 * @param Lemma $lemma
308 308
 	 * @return void
309 309
 	 */
310 310
 	public function addLemma(Lemma $lemma)
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
 
318 318
 	/**
319 319
 	 *
320
-	 * @param kateglo\application\models\Lemma $lemma
320
+	 * @param Lemma $lemma
321 321
 	 * @return void
322 322
 	 */
323 323
 	public function removeLEmma(Lemma $lemma)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5
-use Doctrine\ORM\Query;
6 5
 use Doctrine\Tests\Models\CMS\CmsUser;
7 6
 use Doctrine\Tests\OrmFunctionalTestCase;
8 7
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/ClassTableInheritanceTest.php 1 patch
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,13 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5
-use Doctrine\Tests\Models\Company\CompanyPerson,
6
-    Doctrine\Tests\Models\Company\CompanyEmployee,
7
-    Doctrine\Tests\Models\Company\CompanyManager,
8
-    Doctrine\Tests\Models\Company\CompanyOrganization,
9
-    Doctrine\Tests\Models\Company\CompanyAuction,
10
-    Doctrine\Tests\Models\Company\CompanyRaffle;
11
-
5
+use Doctrine\Tests\Models\Company\CompanyPerson;
6
+use Doctrine\Tests\Models\Company\CompanyEmployee;
7
+use Doctrine\Tests\Models\Company\CompanyManager;
8
+use Doctrine\Tests\Models\Company\CompanyOrganization;
9
+use Doctrine\Tests\Models\Company\CompanyAuction;
10
+use Doctrine\Tests\Models\Company\CompanyRaffle;
12 11
 use Doctrine\Common\Collections\Criteria;
13 12
 use Doctrine\Tests\OrmFunctionalTestCase;
14 13
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/OneToManyOrphanRemovalTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5
-use Doctrine\Tests\Models\CMS\CmsUser,
6
-    Doctrine\Tests\Models\CMS\CmsPhonenumber;
5
+use Doctrine\Tests\Models\CMS\CmsUser;
6
+use Doctrine\Tests\Models\CMS\CmsPhonenumber;
7 7
 use Doctrine\Tests\OrmFunctionalTestCase;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/OneToOneOrphanRemovalTest.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5
-use Doctrine\Tests\Models\CMS\CmsUser,
6
-    Doctrine\Tests\Models\CMS\CmsEmail,
7
-    Doctrine\Tests\Models\CMS\CmsAddress;
5
+use Doctrine\Tests\Models\CMS\CmsUser;
6
+use Doctrine\Tests\Models\CMS\CmsEmail;
7
+use Doctrine\Tests\Models\CMS\CmsAddress;
8 8
 use Doctrine\Tests\OrmFunctionalTestCase;
9 9
 
10 10
 /**
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,11 +3,10 @@
 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\UnexpectedResultException;
8
-use Doctrine\Tests\Models\CMS\CmsUser,
9
-    Doctrine\Tests\Models\CMS\CmsArticle,
10
-    Doctrine\Tests\Models\CMS\CmsPhonenumber;
7
+use Doctrine\Tests\Models\CMS\CmsUser;
8
+use Doctrine\Tests\Models\CMS\CmsArticle;
9
+use Doctrine\Tests\Models\CMS\CmsPhonenumber;
11 10
 use Doctrine\ORM\Mapping\ClassMetadata;
12 11
 use Doctrine\ORM\Query;
13 12
 use Doctrine\ORM\Query\Parameter;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -7,19 +7,15 @@
 block discarded – undo
7 7
 use Doctrine\ORM\Query\Filter\SQLFilter;
8 8
 use Doctrine\ORM\Mapping\ClassMetadata;
9 9
 use Doctrine\Common\Cache\ArrayCache;
10
-
11 10
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
12
-
13 11
 use Doctrine\Tests\Models\CMS\CmsUser;
14 12
 use Doctrine\Tests\Models\CMS\CmsAddress;
15 13
 use Doctrine\Tests\Models\CMS\CmsGroup;
16 14
 use Doctrine\Tests\Models\CMS\CmsArticle;
17
-
18 15
 use Doctrine\Tests\Models\Company\CompanyPerson;
19 16
 use Doctrine\Tests\Models\Company\CompanyManager;
20 17
 use Doctrine\Tests\Models\Company\CompanyOrganization;
21 18
 use Doctrine\Tests\Models\Company\CompanyAuction;
22
-
23 19
 use Doctrine\Tests\Models\Company\CompanyFlexContract;
24 20
 use Doctrine\Tests\Models\Company\CompanyFlexUltraContract;
25 21
 use Doctrine\Tests\OrmFunctionalTestCase;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1884Test.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Doctrine\Tests\ORM\Functional\Ticket;
3 3
 
4
-use Doctrine\Tests\Models\Taxi\Ride,
5
-    Doctrine\Tests\Models\Taxi\PaidRide;
4
+use Doctrine\Tests\Models\Taxi\Ride;
5
+use Doctrine\Tests\Models\Taxi\PaidRide;
6 6
 
7 7
 /**
8 8
  * @group DDC-1884
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/YamlMappingDriverTest.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Mapping;
4 4
 
5
-use Doctrine\ORM\Mapping\ClassMetadata,
6
-    Doctrine\ORM\Mapping\Driver\YamlDriver;
5
+use Doctrine\ORM\Mapping\ClassMetadata;
6
+use Doctrine\ORM\Mapping\Driver\YamlDriver;
7 7
 use Doctrine\ORM\Mapping\ClassMetadataFactory;
8 8
 
9 9
 class YamlMappingDriverTest extends AbstractMappingDriverTest
Please login to merge, or discard this patch.