Completed
Pull Request — master (#5626)
by Gary
09:09
created
tests/Shitty/Tests/ORM/Functional/Ticket/DDC767Test.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 Shitty\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Shitty\Common\Collections\ArrayCollection;
6 5
 use Shitty\Tests\Models\CMS\CmsUser;
7 6
 use Shitty\Tests\Models\CMS\CmsGroup;
8 7
 
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC832Test.php 2 patches
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -137,6 +137,9 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public $version;
139 139
 
140
+    /**
141
+     * @param string $word
142
+     */
140 143
     public function __construct($word)
141 144
     {
142 145
         $this->word = $word;
@@ -166,6 +169,9 @@  discard block
 block discarded – undo
166 169
      */
167 170
     public $version;
168 171
 
172
+    /**
173
+     * @param string $name
174
+     */
169 175
     public function __construct($name)
170 176
     {
171 177
         $this->name = $name;
@@ -183,6 +189,11 @@  discard block
 block discarded – undo
183 189
     /** @Column(type="integer") */
184 190
     public $rgt;
185 191
 
192
+    /**
193
+     * @param string $name
194
+     * @param integer $lft
195
+     * @param integer $rgt
196
+     */
186 197
     public function __construct($name, $lft, $rgt)
187 198
     {
188 199
         $this->name = $name;
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Shitty\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Shitty\Common\Collections\ArrayCollection;
6
-use Shitty\Tests\Models\CMS\CmsUser;
7
-use Shitty\Tests\Models\CMS\CmsGroup;
8
-
9 5
 class DDC832Test extends \Shitty\Tests\OrmFunctionalTestCase
10 6
 {
11 7
     public function setUp()
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC881Test.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -118,6 +118,9 @@  discard block
 block discarded – undo
118 118
         return $this->name;
119 119
     }
120 120
 
121
+    /**
122
+     * @param string $name
123
+     */
121 124
     public function setName($name)
122 125
     {
123 126
         $this->name = $name;
@@ -155,6 +158,9 @@  discard block
 block discarded – undo
155 158
         $this->calls = new \Doctrine\Common\Collections\ArrayCollection();
156 159
     }
157 160
 
161
+    /**
162
+     * @param integer $id
163
+     */
158 164
     public function setId($id)
159 165
     {
160 166
         $this->id = $id;
@@ -165,6 +171,9 @@  discard block
 block discarded – undo
165 171
         $this->user = $user;
166 172
     }
167 173
 
174
+    /**
175
+     * @param string $phoneNumber
176
+     */
168 177
     public function setPhoneNumber($phoneNumber)
169 178
     {
170 179
         $this->phonenumber = $phoneNumber;
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC960Test.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -78,11 +78,17 @@
 block discarded – undo
78 78
      */
79 79
     private $name;
80 80
 
81
+    /**
82
+     * @param string $name
83
+     */
81 84
     public function __construct($name)
82 85
     {
83 86
         $this->name = $name;
84 87
     }
85 88
 
89
+    /**
90
+     * @param string $name
91
+     */
86 92
     public function setName($name)
87 93
     {
88 94
         $this->name = $name;
Please login to merge, or discard this 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 Shitty\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Shitty\Common\Collections\ArrayCollection;
6
-
7 5
 class DDC960Test extends \Shitty\Tests\OrmFunctionalTestCase
8 6
 {
9 7
     protected function setUp()
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/Ticket69.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
 
241 241
     /**
242 242
      *
243
-     * @return Phrase
243
+     * @return Lemma
244 244
      */
245 245
     public function getParent() {
246 246
         return $this->parent;
Please login to merge, or discard this 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 Shitty\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Shitty\ORM\Query;
6
-
7 5
 /**
8 6
  * Functional tests for the Single Table Inheritance mapping strategy.
9 7
  *
Please login to merge, or discard this patch.
tests/Shitty/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 Shitty\Tests\Models\Generic\DateTimeModel;
7 7
 use Shitty\Tests\Models\Generic\DecimalModel;
8 8
 use Shitty\Tests\Models\Generic\SerializationModel;
9
-
10
-use Shitty\ORM\Mapping\AssociationMapping;
11 9
 use Shitty\DBAL\Types\Type as DBALType;
12 10
 
13 11
 class TypeTest extends \Shitty\Tests\OrmFunctionalTestCase
Please login to merge, or discard this patch.
tests/Shitty/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/Shitty/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 Shitty\Tests\ORM\Hydration;
4 4
 
5 5
 use Shitty\ORM\Query\ParserResult;
6
-use Shitty\ORM\Query\Parser;
7 6
 
8 7
 class HydrationTestCase extends \Shitty\Tests\OrmTestCase
9 8
 {
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Mapping/AbstractMappingDriverTest.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 {
19 19
     abstract protected function _loadDriver();
20 20
 
21
+    /**
22
+     * @param string $entityClassName
23
+     */
21 24
     public function createClassMetadata($entityClassName)
22 25
     {
23 26
         $mappingDriver = $this->_loadDriver();
@@ -30,7 +33,6 @@  discard block
 block discarded – undo
30 33
     }
31 34
 
32 35
     /**
33
-     * @param \Shitty\ORM\EntityManager $entityClassName
34 36
      * @return \Shitty\ORM\Mapping\ClassMetadataFactory
35 37
      */
36 38
     protected function createClassMetadataFactory(\Shitty\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 Shitty\Tests\ORM\Mapping;
4 4
 
5 5
 use Shitty\ORM\Events;
6
-use Shitty\ORM\Event\LifecycleEventArgs;
7 6
 use Shitty\ORM\Mapping\DiscriminatorColumn;
8 7
 use Shitty\ORM\Mapping\Id;
9 8
 use Shitty\Tests\Models\Company\CompanyFixContract;
Please login to merge, or discard this patch.