Completed
Pull Request — master (#5669)
by Jeremy
48:42 queued 40:04
created
tests/Doctrine/Tests/ORM/Tools/Export/AbstractClassMetadataExporterTest.php 2 patches
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         return EntityManagerMock::create($conn, $config, $eventManager);
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $path
68
+     */
66 69
     protected function _createMetadataDriver($type, $path)
67 70
     {
68 71
         $mappingDriver = array(
@@ -82,6 +85,9 @@  discard block
 block discarded – undo
82 85
         return $driver;
83 86
     }
84 87
 
88
+    /**
89
+     * @param EntityManagerMock $em
90
+     */
85 91
     protected function _createClassMetadataFactory($em, $type)
86 92
     {
87 93
         $factory = ($type === 'annotation')
@@ -292,7 +298,6 @@  discard block
 block discarded – undo
292 298
 
293 299
     /**
294 300
      * @depends testOneToManyAssociationsAreExported
295
-     * @param ClassMetadataInfo $metadata
296 301
      */
297 302
     public function testManyToManyAssociationsAreExported($class)
298 303
     {
@@ -392,6 +397,9 @@  discard block
 block discarded – undo
392 397
 #        $this->_deleteDirectory(__DIR__ . '/export/'.$this->_getType());
393 398
     }
394 399
 
400
+    /**
401
+     * @param string $path
402
+     */
395 403
     protected function _deleteDirectory($path)
396 404
     {
397 405
         if (is_file($path)) {
Please login to merge, or discard this 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\ClassMetadataInfo;
26 26
 use Doctrine\ORM\Tools\EntityGenerator;
27 27
 use Doctrine\Tests\Mocks\MetadataDriverMock;
28
-use Doctrine\Tests\Mocks\DatabasePlatformMock;
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/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\DBAL\Platforms\MySqlPlatform;
6 6
 use Doctrine\DBAL\Platforms\OraclePlatform;
7 7
 use Doctrine\DBAL\Platforms\PostgreSqlPlatform;
8
-use Doctrine\DBAL\Platforms\SQLServerPlatform;
9 8
 use Doctrine\ORM\Query;
10 9
 
11 10
 class LimitSubqueryOutputWalkerTest extends PaginationTestCase
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/UnitOfWorkTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -373,6 +373,9 @@  discard block
 block discarded – undo
373 373
         return $this->items;
374 374
     }
375 375
 
376
+    /**
377
+     * @param string $value
378
+     */
376 379
     public function setTransient($value) {
377 380
         if ($value != $this->transient) {
378 381
             $this->_onPropertyChanged('transient', $this->transient, $value);
@@ -384,6 +387,9 @@  discard block
 block discarded – undo
384 387
         return $this->data;
385 388
     }
386 389
 
390
+    /**
391
+     * @param string $data
392
+     */
387 393
     public function setData($data) {
388 394
         if ($data != $this->data) {
389 395
             $this->_onPropertyChanged('data', $this->data, $data);
@@ -396,6 +402,9 @@  discard block
 block discarded – undo
396 402
         $this->_listeners[] = $listener;
397 403
     }
398 404
 
405
+    /**
406
+     * @param string $propName
407
+     */
399 408
     protected function _onPropertyChanged($propName, $oldValue, $newValue) {
400 409
         if ($this->_listeners) {
401 410
             foreach ($this->_listeners as $listener) {
@@ -426,6 +435,9 @@  discard block
 block discarded – undo
426 435
         return $this->owner;
427 436
     }
428 437
 
438
+    /**
439
+     * @param NotifyChangedEntity|null $owner
440
+     */
429 441
     public function setOwner($owner) {
430 442
         $this->owner = $owner;
431 443
     }
Please login to merge, or discard this patch.
tests/Doctrine/Tests/OrmFunctionalTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -556,7 +556,7 @@
 block discarded – undo
556 556
     }
557 557
 
558 558
     /**
559
-     * @param array $classNames
559
+     * @param string[] $classNames
560 560
      *
561 561
      * @return void
562 562
      *
Please login to merge, or discard this patch.
tests/Doctrine/Tests/OrmTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     protected $secondLevelCacheDriverImpl = null;
53 53
 
54 54
     /**
55
-     * @param array $paths
55
+     * @param string[] $paths
56 56
      * @param mixed $alias
57 57
      *
58 58
      * @return \Doctrine\ORM\Mapping\Driver\AnnotationDriver
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Cache/Action.php 1 patch
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.
tests/Doctrine/Tests/Models/Legacy/LegacyCar.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Doctrine\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Doctrine\Common\Collections\ArrayCollection;
6
-
7 5
 class DDC960Test extends \Doctrine\Tests\OrmFunctionalTestCase
8 6
 {
9 7
     protected function setUp()
Please login to merge, or discard this patch.
tests/Doctrine/Tests/Models/Navigation/NavCountry.php 1 patch
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.
tests/Doctrine/Tests/Models/StockExchange/Market.php 1 patch
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.