Completed
Pull Request — master (#5626)
by Gary
09:09
created
tests/Shitty/Tests/ORM/Functional/Ticket/DDC1461Test.php 1 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\CmsArticle;
7
-use Shitty\Tests\Models\CMS\CmsUser;
8
-
9 5
 /**
10 6
  * @group DDC-1461
11 7
  */
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC1509Test.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * Set file
88
+     * @param DDC1509File $value
88 89
      */
89 90
     public function setFile($value = null)
90 91
     {
@@ -104,6 +105,9 @@  discard block
 block discarded – undo
104 105
         return $this->thumbnail;
105 106
     }
106 107
 
108
+    /**
109
+     * @param DDC1509File $thumbnail
110
+     */
107 111
     public function setThumbnail($thumbnail)
108 112
     {
109 113
         $this->thumbnail = $thumbnail;
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\UnitOfWork;
6
-
7 5
 /**
8 6
  * @group DDC-1509
9 7
  */
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC1514Test.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\Functional\Ticket;
4 4
 
5 5
 use Shitty\Common\Collections\ArrayCollection;
6
-use Shitty\ORM\UnitOfWork;
7 6
 
8 7
 /**
9 8
  * @group DDC-1514
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC1594Test.php 1 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
-
7
-use Shitty\Tests\Models\CMS\CmsComment;
8
-use Shitty\Tests\Models\CMS\CmsArticle;
9 5
 use Shitty\Tests\Models\CMS\CmsUser;
10 6
 
11 7
 /**
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC1690Test.php 2 patches
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@  discard block
 block discarded – undo
83 83
         }
84 84
     }
85 85
 
86
+    /**
87
+     * @param string $propName
88
+     */
86 89
     protected function onPropertyChanged($propName, $oldValue, $newValue) {
87 90
         if ($this->listeners) {
88 91
             foreach ($this->listeners as $listener) {
@@ -111,11 +114,17 @@  discard block
 block discarded – undo
111 114
         return $this->name;
112 115
     }
113 116
 
117
+    /**
118
+     * @param string $name
119
+     */
114 120
     function setName($name) {
115 121
         $this->onPropertyChanged('name', $this->name, $name);
116 122
         $this->name = $name;
117 123
     }
118 124
 
125
+    /**
126
+     * @param DDC1690Child $child
127
+     */
119 128
     function setChild($child) {
120 129
         $this->child = $child;
121 130
     }
@@ -144,11 +153,17 @@  discard block
 block discarded – undo
144 153
         return $this->name;
145 154
     }
146 155
 
156
+    /**
157
+     * @param string $name
158
+     */
147 159
     function setName($name) {
148 160
         $this->onPropertyChanged('name', $this->name, $name);
149 161
         $this->name = $name;
150 162
     }
151 163
 
164
+    /**
165
+     * @param DDC1690Parent $parent
166
+     */
152 167
     function setParent($parent) {
153 168
         $this->parent = $parent;
154 169
     }
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Shitty\Tests\ORM\Functional\Ticket;
4 4
 
5
-use Shitty\Common\NotifyPropertyChanged,
6
-    Shitty\Common\PropertyChangedListener;
5
+use Shitty\Common\NotifyPropertyChanged;
6
+use Shitty\Common\PropertyChangedListener;
7 7
 
8 8
 class DDC1690Test extends \Shitty\Tests\OrmFunctionalTestCase
9 9
 {
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC1884Test.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
         $this->_em->flush();
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $class
56
+     */
54 57
     private function createCars($class)
55 58
     {
56 59
         $bimmer = new $class;
@@ -77,6 +80,9 @@  discard block
 block discarded – undo
77 80
         return array($bimmer, $crysler, $merc, $volvo);
78 81
     }
79 82
 
83
+    /**
84
+     * @param string $class
85
+     */
80 86
     private function createDrivers($class)
81 87
     {
82 88
         $john = new $class;
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Shitty\Tests\ORM\Functional\Ticket;
3 3
 
4
-use Shitty\Tests\Models\Taxi\Car,
5
-    Shitty\Tests\Models\Taxi\Driver,
6
-    Shitty\Tests\Models\Taxi\Ride,
7
-    Shitty\Tests\Models\Taxi\PaidRide;
4
+use Shitty\Tests\Models\Taxi\Car;
5
+use Shitty\Tests\Models\Taxi\Driver;
6
+use Shitty\Tests\Models\Taxi\Ride;
7
+use Shitty\Tests\Models\Taxi\PaidRide;
8 8
 
9 9
 /**
10 10
  * @group DDC-1884
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC2084Test.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -106,6 +106,9 @@
 block discarded – undo
106 106
      */
107 107
     private $value;
108 108
 
109
+    /**
110
+     * @param string $value
111
+     */
109 112
     public function __construct($value)
110 113
     {
111 114
         $this->value = $value;
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC2138Test.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -169,7 +169,6 @@  discard block
 block discarded – undo
169 169
      *
170 170
      * @param User $user
171 171
      * @param User $followedUser
172
-     * @param bool $giveAgency
173 172
      */
174 173
     public function __construct(User $user, User $followedUser)
175 174
     {
@@ -247,7 +246,7 @@  discard block
 block discarded – undo
247 246
      * Add followedUsers
248 247
      *
249 248
      * @param  UserFollowedUser $followedUsers
250
-     * @return User
249
+     * @return DDC2138User
251 250
      */
252 251
     public function addFollowedUser(UserFollowedUser $followedUsers)
253 252
     {
@@ -260,7 +259,7 @@  discard block
 block discarded – undo
260 259
      * Remove followedUsers
261 260
      *
262 261
      * @param  UserFollowedUser $followedUsers
263
-     * @return User
262
+     * @return DDC2138User
264 263
      */
265 264
     public function removeFollowedUser(UserFollowedUser $followedUsers)
266 265
     {
@@ -283,7 +282,7 @@  discard block
 block discarded – undo
283 282
      * Add followedStructures
284 283
      *
285 284
      * @param  UserFollowedStructure $followedStructures
286
-     * @return User
285
+     * @return DDC2138User
287 286
      */
288 287
     public function addFollowedStructure(UserFollowedStructure $followedStructures)
289 288
     {
@@ -296,7 +295,7 @@  discard block
 block discarded – undo
296 295
      * Remove followedStructures
297 296
      *
298 297
      * @param  UserFollowedStructure $followedStructures
299
-     * @return User
298
+     * @return DDC2138User
300 299
      */
301 300
     public function removeFollowedStructure(UserFollowedStructure $followedStructures)
302 301
     {
Please login to merge, or discard this patch.
tests/Shitty/Tests/ORM/Functional/Ticket/DDC2415Test.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -76,11 +76,17 @@
 block discarded – undo
76 76
 {
77 77
     protected $name;
78 78
 
79
+    /**
80
+     * @param string $name
81
+     */
79 82
     public function __construct($name)
80 83
     {
81 84
         $this->name = $name;
82 85
     }
83 86
 
87
+    /**
88
+     * @return string
89
+     */
84 90
     public function getName()
85 91
     {
86 92
         return $this->name;
Please login to merge, or discard this patch.