Completed
Pull Request — master (#6397)
by Vytautas
09:41
created
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1335Test.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -173,6 +173,10 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public $phones;
175 175
 
176
+    /**
177
+     * @param string $email
178
+     * @param string $name
179
+     */
176 180
     public function __construct($email, $name, array $numbers = [])
177 181
     {
178 182
         $this->name   = $name;
@@ -208,6 +212,9 @@  discard block
 block discarded – undo
208 212
      */
209 213
     public $user;
210 214
 
215
+    /**
216
+     * @param DDC1335User $user
217
+     */
211 218
     public function __construct($user, $number)
212 219
     {
213 220
         $this->user     = $user;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH5762Test.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -119,6 +119,10 @@  discard block
 block discarded – undo
119 119
      */
120 120
     public $driverRides;
121 121
 
122
+    /**
123
+     * @param integer $id
124
+     * @param string $name
125
+     */
122 126
     public function __construct($id, $name)
123 127
     {
124 128
         $this->driverRides = new ArrayCollection();
@@ -181,6 +185,10 @@  discard block
 block discarded – undo
181 185
      */
182 186
     public $carRides;
183 187
 
188
+    /**
189
+     * @param string $brand
190
+     * @param string $model
191
+     */
184 192
     public function __construct($brand, $model)
185 193
     {
186 194
         $this->carRides = new ArrayCollection();
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/ClassMetadataFactoryTest.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,6 +227,9 @@  discard block
 block discarded – undo
227 227
         $this->assertEquals([], $metadata);
228 228
     }
229 229
 
230
+    /**
231
+     * @param \PHPUnit_Framework_MockObject_MockObject $conn
232
+     */
230 233
     protected function _createEntityManager($metadataDriver, $conn = null)
231 234
     {
232 235
         $driverMock = new DriverMock();
@@ -255,7 +258,6 @@  discard block
 block discarded – undo
255 258
     }
256 259
 
257 260
     /**
258
-     * @param string $class
259 261
      * @return ClassMetadata
260 262
      */
261 263
     protected function _createValidClassMetadata()
@@ -469,6 +471,10 @@  discard block
 block discarded – undo
469 471
         return $this->mockMetadata[$className];
470 472
     }
471 473
 
474
+    /**
475
+     * @param string $className
476
+     * @param ClassMetadata $metadata
477
+     */
472 478
     public function setMetadataForClass($className, $metadata)
473 479
     {
474 480
         $this->mockMetadata[$className] = $metadata;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Mapping/ReflectionEmbeddedPropertyTest.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\Instantiator\Instantiator;
6 6
 use Doctrine\ORM\Mapping\ReflectionEmbeddedProperty;
7 7
 use Doctrine\Tests\Models\Generic\BooleanModel;
8
-use Doctrine\Tests\Models\Mapping\Entity;
9 8
 use Doctrine\Tests\Models\Reflection\AbstractEmbeddable;
10 9
 use Doctrine\Tests\Models\Reflection\ArrayObjectExtendingClass;
11 10
 use Doctrine\Tests\Models\Reflection\ConcreteEmbeddable;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Performance/PersisterPerformanceTest.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\Performance;
4 4
 
5
-use Doctrine\ORM\Query;
6 5
 use Doctrine\Tests\Models\CMS\CmsUser;
7 6
 use Doctrine\Tests\Models\CMS\CmsGroup;
8 7
 use Doctrine\Tests\Models\CMS\CmsArticle;
Please login to merge, or discard this patch.
Doctrine/Tests/ORM/Persisters/BasicEntityPersisterTypeValueSqlTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Doctrine\DBAL\Types\Type as DBALType;
8 8
 use Doctrine\ORM\Persisters\Entity\BasicEntityPersister;
9 9
 use Doctrine\Tests\Models\CustomType\CustomTypeChild;
10
-use Doctrine\Tests\Models\CustomType\CustomTypeFriend;
11 10
 use Doctrine\Tests\Models\CustomType\CustomTypeParent;
12 11
 use Doctrine\Tests\Models\Generic\NonAlphaColumnsEntity;
13 12
 use Doctrine\Tests\OrmTestCase;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Query/CustomTreeWalkersTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@
 block discarded – undo
38 38
         return $query->getSql();
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $dqlToBeTested
43
+     * @param string $sqlToBeConfirmed
44
+     */
41 45
     public function assertSqlGeneration($dqlToBeTested, $sqlToBeConfirmed, $treeWalkers = [], $outputWalker = null)
42 46
     {
43 47
         try {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Query/QueryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Cache\ArrayCache;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7
-
8 7
 use Doctrine\ORM\EntityManager;
9 8
 use Doctrine\ORM\Query\Parameter;
10 9
 use Doctrine\Tests\Mocks\DriverConnectionMock;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Query/UpdateSqlGenerationTest.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.