Completed
Pull Request — master (#5938)
by Maximilian
16:49 queued 08:43
created
Tests/ORM/Cache/Persister/Collection/AbstractCollectionPersisterTest.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
+     * @param State $owner
97 98
      * @return \Doctrine\ORM\PersistentCollection
98 99
      */
99 100
     protected function createCollection($owner, $assoc = null, $class = null, $elements = null)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 namespace Doctrine\Tests\ORM\Cache\Persister\Entity;
4 4
 
5 5
 use Doctrine\Tests\OrmTestCase;
6
-
7 6
 use Doctrine\ORM\Cache\Region;
8 7
 use Doctrine\ORM\EntityManager;
9 8
 use Doctrine\ORM\Mapping\ClassMetadata;
10 9
 use Doctrine\ORM\Persisters\Entity\EntityPersister;
11
-
12 10
 use Doctrine\Tests\Models\Cache\Country;
13 11
 use Doctrine\Common\Collections\Criteria;
14 12
 use Doctrine\Common\Collections\ArrayCollection;
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Cache/Persister/Entity/AbstractEntityPersisterTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @return \Doctrine\ORM\Cache\Persister\AbstractEntityPersister
117
+     * @return \Doctrine\ORM\Cache\Persister\Entity\AbstractEntityPersister
118 118
      */
119 119
     protected function createPersisterDefault()
120 120
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 namespace Doctrine\Tests\ORM\Cache\Persister\Entity;
4 4
 
5 5
 use Doctrine\Tests\OrmTestCase;
6
-
7 6
 use Doctrine\ORM\Cache\Region;
8 7
 use Doctrine\ORM\EntityManager;
9 8
 use Doctrine\ORM\Mapping\ClassMetadata;
10 9
 use Doctrine\ORM\Persisters\Entity\EntityPersister;
11
-
12 10
 use Doctrine\Tests\Models\Cache\Country;
13 11
 use Doctrine\Common\Collections\Criteria;
14 12
 use Doctrine\Common\Collections\ArrayCollection;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     }
28 28
 
29 29
     /**
30
-     * @param  string $className
30
+     * @param  string $classNames
31 31
      * @return ClassMetadata
32 32
      */
33 33
     protected function extractClassMetadata(array $classNames)
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/EntityRepositoryTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -133,6 +133,12 @@  discard block
 block discarded – undo
133 133
         return array($user1, $user2, $user3);
134 134
     }
135 135
 
136
+    /**
137
+     * @param string $name
138
+     * @param string $username
139
+     * @param string $status
140
+     * @param CmsAddress $address
141
+     */
136 142
     public function buildUser($name, $username, $status, $address)
137 143
     {
138 144
         $user = new CmsUser();
@@ -147,6 +153,12 @@  discard block
 block discarded – undo
147 153
         return $user;
148 154
     }
149 155
 
156
+    /**
157
+     * @param string $country
158
+     * @param string $city
159
+     * @param string $street
160
+     * @param string $zip
161
+     */
150 162
     public function buildAddress($country, $city, $street, $zip)
151 163
     {
152 164
         $address = new CmsAddress();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/LifecycleCallbackTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -375,8 +375,16 @@
 block discarded – undo
375 375
     private $name;
376 376
     public function getId() {return $this->id;}
377 377
     public function getValue() {return $this->value;}
378
+
379
+    /**
380
+     * @param string $value
381
+     */
378 382
     public function setValue($value) {$this->value = $value;}
379 383
     public function getName() {return $this->name;}
384
+
385
+    /**
386
+     * @param string $name
387
+     */
380 388
     public function setName($name) {$this->name = $name;}
381 389
     /** @PreUpdate */
382 390
     public function testCallback() {$this->value = 'Hello World';}
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Locking/GearmanLockTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@  discard block
 block discarded – undo
139 139
         );
140 140
     }
141 141
 
142
+    /**
143
+     * @param string $entityName
144
+     */
142 145
     protected function asyncFindWithLock($entityName, $entityId, $lockMode)
143 146
     {
144 147
         $this->startJob('findWithLock', array(
@@ -148,6 +151,9 @@  discard block
 block discarded – undo
148 151
         ));
149 152
     }
150 153
 
154
+    /**
155
+     * @param string $dql
156
+     */
151 157
     protected function asyncDqlWithLock($dql, $params, $lockMode)
152 158
     {
153 159
         $this->startJob('dqlWithLock', array(
@@ -157,6 +163,9 @@  discard block
 block discarded – undo
157 163
         ));
158 164
     }
159 165
 
166
+    /**
167
+     * @param string $entityName
168
+     */
160 169
     protected function asyncLock($entityName, $entityId, $lockMode)
161 170
     {
162 171
         $this->startJob('lock', array(
@@ -166,6 +175,9 @@  discard block
 block discarded – undo
166 175
         ));
167 176
     }
168 177
 
178
+    /**
179
+     * @param string $fn
180
+     */
169 181
     protected function startJob($fn, $fixture)
170 182
     {
171 183
         $this->gearman->addTask($fn, serialize(array(
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/ManyToManyBasicAssociationTest.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace Doctrine\Tests\ORM\Functional;
4 4
 
5 5
 use Doctrine\Common\Collections\Criteria;
6
-use Doctrine\Tests\Models\CMS\CmsUser,
7
-    Doctrine\Tests\Models\CMS\CmsGroup,
8
-    Doctrine\Common\Collections\ArrayCollection;
6
+use Doctrine\Tests\Models\CMS\CmsUser;
7
+use Doctrine\Tests\Models\CMS\CmsGroup;
8
+use Doctrine\Common\Collections\ArrayCollection;
9 9
 
10 10
 /**
11 11
  * Basic many-to-many association tests.
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/MergeSharedEntitiesTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@
 block discarded – undo
141 141
         return $this->session;
142 142
     }
143 143
 
144
+    /**
145
+     * @param string $session
146
+     */
144 147
     public function setSession($session)
145 148
     {
146 149
         $this->session = $session;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/NativeQueryTest.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.