Completed
Pull Request — master (#5669)
by Jeremy
48:42 queued 40:04
created
tests/Doctrine/Tests/ORM/Functional/ReferenceProxyTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5 5
 use Doctrine\ORM\Proxy\ProxyFactory;
6
-use Doctrine\ORM\Proxy\ProxyClassGenerator;
7 6
 use Doctrine\Tests\Models\ECommerce\ECommerceProduct;
8 7
 use Doctrine\Tests\Models\ECommerce\ECommerceShipping;
9 8
 use Doctrine\Tests\Models\Company\CompanyAuction;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SecondLevelCacheTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -329,6 +329,9 @@
 block discarded – undo
329 329
         $this->callbacks = $callbacks;
330 330
     }
331 331
 
332
+    /**
333
+     * @param string $eventName
334
+     */
332 335
     private function dispatch($eventName, $args)
333 336
     {
334 337
         if (isset($this->callbacks[$eventName])) {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -173,6 +173,9 @@  discard block
 block discarded – undo
173 173
         $this->assertFalse($em->getFilters()->isEnabled("foo_filter"));        
174 174
     }
175 175
     
176
+    /**
177
+     * @param \Doctrine\ORM\EntityManager $em
178
+     */
176 179
     protected function configureFilters($em)
177 180
     {
178 181
         // Add filters to the configuration of the EM
@@ -878,6 +881,9 @@  discard block
 block discarded – undo
878 881
         $this->assertEquals(2, count($manager->managedContracts->slice(0, 10)));
879 882
     }
880 883
 
884
+    /**
885
+     * @param string $name
886
+     */
881 887
     private function usePersonNameFilter($name)
882 888
     {
883 889
         // Enable the filter
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,21 +4,16 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\DBAL\Types\Type as DBALType;
6 6
 use Doctrine\ORM\Query\Filter\SQLFilter;
7
-use Doctrine\ORM\Mapping\ClassMetaData;
8 7
 use Doctrine\Common\Cache\ArrayCache;
9
-
10 8
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
11
-
12 9
 use Doctrine\Tests\Models\CMS\CmsUser;
13 10
 use Doctrine\Tests\Models\CMS\CmsAddress;
14 11
 use Doctrine\Tests\Models\CMS\CmsGroup;
15 12
 use Doctrine\Tests\Models\CMS\CmsArticle;
16
-
17 13
 use Doctrine\Tests\Models\Company\CompanyPerson;
18 14
 use Doctrine\Tests\Models\Company\CompanyManager;
19 15
 use Doctrine\Tests\Models\Company\CompanyOrganization;
20 16
 use Doctrine\Tests\Models\Company\CompanyAuction;
21
-
22 17
 use Doctrine\Tests\Models\Company\CompanyFlexContract;
23 18
 use Doctrine\Tests\Models\Company\CompanyFlexUltraContract;
24 19
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/StandardEntityPersisterTest.php 1 patch
Unused Use Statements   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,12 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5
-use Doctrine\Tests\Models\ECommerce\ECommerceCart,
6
-    Doctrine\Tests\Models\ECommerce\ECommerceFeature,
7
-    Doctrine\Tests\Models\ECommerce\ECommerceCustomer,
8
-    Doctrine\Tests\Models\ECommerce\ECommerceProduct;
9
-
10
-use Doctrine\ORM\Mapping\AssociationMapping;
5
+use Doctrine\Tests\Models\ECommerce\ECommerceCart;
6
+use Doctrine\Tests\Models\ECommerce\ECommerceFeature;
7
+use Doctrine\Tests\Models\ECommerce\ECommerceCustomer;
8
+use Doctrine\Tests\Models\ECommerce\ECommerceProduct;
11 9
 
12 10
 /**
13 11
  * Tests capabilities of the persister.
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1080Test.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @param field_type $fooTitle
128
+     * @param string $fooTitle
129 129
      */
130 130
     public function setFooTitle($fooTitle)
131 131
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-     * @param field_type $barTitle
206
+     * @param string $barTitle
207 207
      */
208 208
     public function setBarTitle($barTitle)
209 209
     {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     /**
293 293
      * Retrieve the orderNr property
294 294
      *
295
-     * @return int|null
295
+     * @return integer
296 296
      */
297 297
     public function getOrderNr()
298 298
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1163Test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-     * @param Product $product
206
+     * @param DDC1163Product $product
207 207
      */
208 208
     public function setProduct(DDC1163Product $product)
209 209
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1193Test.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Doctrine\Tests\ORM\Functional\Ticket;
3 3
 
4
-use DateTime, Doctrine\DBAL\Types\Type;
5
-
6 4
 class DDC1193Test extends \Doctrine\Tests\OrmFunctionalTestCase
7 5
 {
8 6
     protected function setUp()
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1238Test.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         return $this->name;
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $name
95
+     */
93 96
     public function setName($name)
94 97
     {
95 98
         $this->name = $name;
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Doctrine\Common\Collections\ArrayCollection;
6
-use Doctrine\Tests\Models\CMS\CmsEmployee;
7
-
8 5
 /**
9 6
  * @group DDC-1250
10 7
  */
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1250Test.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Doctrine\Common\Collections\ArrayCollection;
6
-use Doctrine\Tests\Models\CMS\CmsEmployee;
7
-
8 5
 /**
9 6
  * @group DDC-1250
10 7
  */
Please login to merge, or discard this patch.