Completed
Pull Request — master (#6500)
by Mathew
17:49 queued 08:41
created
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/Performance/SecondLevelCacheTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -124,6 +124,9 @@  discard block
 block discarded – undo
124 124
         $this->assertEquals(503, $this->countQuery($em));
125 125
     }
126 126
 
127
+    /**
128
+     * @param string $label
129
+     */
127 130
     private function queryEntity(EntityManagerInterface $em, $label)
128 131
     {
129 132
         $times        = 100;
@@ -155,6 +158,9 @@  discard block
 block discarded – undo
155 158
         printf("\n%s\n", str_repeat('-', 50));
156 159
     }
157 160
 
161
+    /**
162
+     * @param string $label
163
+     */
158 164
     public function findEntityOneToMany(EntityManagerInterface $em, $label)
159 165
     {
160 166
         $times        = 50;
@@ -214,6 +220,9 @@  discard block
 block discarded – undo
214 220
         printf("\n%s\n", str_repeat('-', 50));
215 221
     }
216 222
 
223
+    /**
224
+     * @param string $label
225
+     */
217 226
     private function findEntity(EntityManagerInterface $em, $label)
218 227
     {
219 228
         $times        = 10;
@@ -249,6 +258,9 @@  discard block
 block discarded – undo
249 258
         printf("\n%s\n", str_repeat('-', 50));
250 259
     }
251 260
 
261
+    /**
262
+     * @param string $label
263
+     */
252 264
     private function findAllEntity(EntityManagerInterface $em, $label)
253 265
     {
254 266
         $times        = 100;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Query/DeleteSqlGenerationTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -43,6 +43,10 @@
 block discarded – undo
43 43
         $this->_em = $this->_getTestEntityManager();
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $dqlToBeTested
48
+     * @param string $sqlToBeConfirmed
49
+     */
46 50
     public function assertSqlGeneration($dqlToBeTested, $sqlToBeConfirmed)
47 51
     {
48 52
         try {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Query/LanguageRecognitionTest.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
         $this->_em = $this->_getTestEntityManager();
18 18
     }
19 19
 
20
+    /**
21
+     * @param string $dql
22
+     */
20 23
     public function assertValidDQL($dql, $debug = false)
21 24
     {
22 25
         try {
@@ -30,6 +33,9 @@  discard block
 block discarded – undo
30 33
         }
31 34
     }
32 35
 
36
+    /**
37
+     * @param string $dql
38
+     */
33 39
     public function assertInvalidDQL($dql, $debug = false)
34 40
     {
35 41
         try {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Doctrine\Tests\ORM\Query;
4 4
 
5 5
 use Doctrine\ORM\EntityManagerInterface;
6
-use Doctrine\ORM\Query,
7
-    Doctrine\ORM\Query\QueryException;
6
+use Doctrine\ORM\Query;
7
+use Doctrine\ORM\Query\QueryException;
8 8
 use Doctrine\Tests\Mocks\MockTreeWalker;
9 9
 use Doctrine\Tests\OrmTestCase;
10 10
 
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/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.
lib/Doctrine/ORM/Mapping/ReflectionEmbeddedProperty.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * {@inheritDoc}
86
+     * @param string $value
86 87
      */
87 88
     public function setValue($object, $value = null)
88 89
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/AdvancedAssociationTest.php 1 patch
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.
tests/Doctrine/Tests/ORM/Tools/ConvertDoctrine1SchemaTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
  */
46 46
 class ConvertDoctrine1SchemaTest extends OrmTestCase
47 47
 {
48
+    /**
49
+     * @param YamlDriver $metadataDriver
50
+     */
48 51
     protected function _createEntityManager($metadataDriver)
49 52
     {
50 53
         $driverMock = new DriverMock();
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\Driver\YamlDriver;
26 26
 use Doctrine\ORM\Tools\Export\ClassMetadataExporter;
27 27
 use Doctrine\ORM\Tools\ConvertDoctrine1Schema;
28
-use Doctrine\Tests\Mocks\MetadataDriverMock;
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.