Completed
Pull Request — master (#5669)
by Jeremy
48:42 queued 40:04
created
tests/Doctrine/Tests/ORM/Functional/TypeTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 use Doctrine\Tests\Models\Generic\DateTimeModel;
7 7
 use Doctrine\Tests\Models\Generic\DecimalModel;
8 8
 use Doctrine\Tests\Models\Generic\SerializationModel;
9
-
10
-use Doctrine\ORM\Mapping\AssociationMapping;
11 9
 use Doctrine\DBAL\Types\Type as DBALType;
12 10
 
13 11
 class TypeTest extends \Doctrine\Tests\OrmFunctionalTestCase
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/ValueObjectsTest.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -339,6 +339,9 @@  discard block
 block discarded – undo
339 339
     /** @Embedded(class = "DDC93Timestamps") */
340 340
     public $timestamps;
341 341
 
342
+    /**
343
+     * @param string $name
344
+     */
342 345
     public function __construct($name = null, DDC93Address $address = null)
343 346
     {
344 347
         $this->name = $name;
@@ -403,6 +406,9 @@  discard block
 block discarded – undo
403 406
      */
404 407
     public $name;
405 408
 
409
+    /**
410
+     * @param string $name
411
+     */
406 412
     public function __construct($name = null)
407 413
     {
408 414
         $this->name = $name;
@@ -431,6 +437,11 @@  discard block
 block discarded – undo
431 437
     /** @Embedded(class = "DDC93Country") */
432 438
     public $country;
433 439
 
440
+    /**
441
+     * @param string $street
442
+     * @param string $zip
443
+     * @param string $city
444
+     */
434 445
     public function __construct($street = null, $zip = null, $city = null, DDC93Country $country = null)
435 446
     {
436 447
         $this->street = $street;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Hydration/HydrationTestCase.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\Hydration;
4 4
 
5 5
 use Doctrine\ORM\Query\ParserResult;
6
-use Doctrine\ORM\Query\Parser;
7 6
 
8 7
 class HydrationTestCase extends \Doctrine\Tests\OrmTestCase
9 8
 {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/AbstractMappingDriverTest.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@  discard block
 block discarded – undo
16 16
 {
17 17
     abstract protected function _loadDriver();
18 18
 
19
+    /**
20
+     * @param string $entityClassName
21
+     */
19 22
     public function createClassMetadata($entityClassName)
20 23
     {
21 24
         $mappingDriver = $this->_loadDriver();
@@ -28,7 +31,6 @@  discard block
 block discarded – undo
28 31
     }
29 32
 
30 33
     /**
31
-     * @param \Doctrine\ORM\EntityManager $entityClassName
32 34
      * @return \Doctrine\ORM\Mapping\ClassMetadataFactory
33 35
      */
34 36
     protected function createClassMetadataFactory(\Doctrine\ORM\EntityManager $em = null)
Please login to merge, or discard this 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\Mapping;
4 4
 
5 5
 use Doctrine\ORM\Events;
6
-use Doctrine\ORM\Event\LifecycleEventArgs;
7 6
 use Doctrine\Tests\Models\Company\CompanyFixContract;
8 7
 use Doctrine\Tests\Models\Company\CompanyFlexContract;
9 8
 use Doctrine\Tests\Models\Cache\City;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/AnnotationDriverTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -117,6 +117,9 @@
 block discarded – undo
117 117
         return $this->createAnnotationDriver();
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $entityClassName
122
+     */
120 123
     protected function _ensureIsLoaded($entityClassName)
121 124
     {
122 125
         new $entityClassName;
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace Doctrine\Tests\ORM\Mapping;
4 4
 
5 5
 use Doctrine\ORM\Mapping\ClassMetadata;
6
-use Doctrine\ORM\Events;
7
-use Doctrine\Tests\Models\DDC2825\ExplicitSchemaAndTable;
8
-use Doctrine\Tests\Models\DDC2825\SchemaAndTableInTableName;
9 6
 
10 7
 class AnnotationDriverTest extends AbstractMappingDriverTest
11 8
 {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,6 @@  discard block
 block discarded – undo
244 244
     }
245 245
 
246 246
     /**
247
-     * @param string $class
248 247
      * @return ClassMetadata
249 248
      */
250 249
     protected function _createValidClassMetadata()
@@ -456,6 +455,10 @@  discard block
 block discarded – undo
456 455
         return $this->mockMetadata[$className];
457 456
     }
458 457
 
458
+    /**
459
+     * @param string $className
460
+     * @param ClassMetadata $metadata
461
+     */
459 462
     public function setMetadataForClass($className, $metadata)
460 463
     {
461 464
         $this->mockMetadata[$className] = $metadata;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataLoadEventTest.php 1 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\Mapping;
4 4
 
5
-use Doctrine\ORM\Mapping\ClassMetadata;
6 5
 use Doctrine\ORM\Events;
7 6
 
8 7
 class ClassMetadataLoadEventTest extends \Doctrine\Tests\OrmTestCase
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/YamlMappingDriverTest.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,9 +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\XmlDriver,
7
-    Doctrine\ORM\Mapping\Driver\YamlDriver;
5
+use Doctrine\ORM\Mapping\ClassMetadata;
6
+use Doctrine\ORM\Mapping\Driver\YamlDriver;
8 7
 
9 8
 class YamlMappingDriverTest extends AbstractMappingDriverTest
10 9
 {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Performance/HydrationPerformanceTest.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\Performance;
4 4
 
5
-use Doctrine\Tests\Mocks\HydratorMockStatement,
6
-    Doctrine\ORM\Query\ResultSetMapping,
7
-    Doctrine\ORM\Query;
5
+use Doctrine\Tests\Mocks\HydratorMockStatement;
6
+use Doctrine\ORM\Query\ResultSetMapping;
7
+use Doctrine\ORM\Query;
8 8
 
9 9
 /**
10 10
  * Tests to prevent serious performance regressions.
Please login to merge, or discard this patch.