Completed
Push — dev/product_visibility ( 1ee472...5f956d )
by Kiyotaka
10:56 queued 05:04
created
tests/Eccube/Tests/Repository/TaxRuleRepositoryTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * Create TaxRule entity
110 110
      *
111 111
      * @param int $tax_rate
112
-     * @param null $apply_date
112
+     * @param \DateTime $apply_date
113 113
      *
114 114
      * @return TaxRule
115 115
      */
Please login to merge, or discard this patch.
tests/Eccube/Tests/Service/MailServiceTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -484,6 +484,10 @@
 block discarded – undo
484 484
         $this->assertEquals(1, count($Message->getChildren()));
485 485
     }
486 486
 
487
+    /**
488
+     * @param \Swift_Message $Message
489
+     * @param string $errorMessage
490
+     */
487 491
     protected function verifyRegExp($Message, $errorMessage = null)
488 492
     {
489 493
         $this->assertRegExp('/'.preg_quote($this->expected, '/').'/', $Message->getBody(), $errorMessage);
Please login to merge, or discard this patch.
tests/Eccube/Tests/Service/PluginServiceWithEntityExtensionTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -252,6 +252,9 @@  discard block
 block discarded – undo
252 252
             '有効状態のプラグインは利用されるはず');
253 253
     }
254 254
 
255
+    /**
256
+     * @param string $file
257
+     */
255 258
     private static function assertContainsTrait($file, $trait, $message = 'Traitが有効になっているはず')
256 259
     {
257 260
         $tokens = Tokens::fromCode(file_get_contents($file));
@@ -262,6 +265,9 @@  discard block
 block discarded – undo
262 265
         self::assertContains($trait, $useStatement, $message);
263 266
     }
264 267
 
268
+    /**
269
+     * @param string $file
270
+     */
265 271
     private static function assertNotContainsTrait($file, $trait, $message = 'Traitが有効になっているはず')
266 272
     {
267 273
         $tokens = Tokens::fromCode(file_get_contents($file));
Please login to merge, or discard this patch.
Service/PurchaseFlow/Processor/DeliveryFeeFreeByShippingProcessorTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -195,6 +195,10 @@  discard block
 block discarded – undo
195 195
         self::assertEquals(0, $Shipping2DeliveryFee->getTotalPrice());
196 196
     }
197 197
 
198
+    /**
199
+     * @param integer $deliveryFeeAmount
200
+     * @param integer $deliveryFeeQuantity
201
+     */
198 202
     private function newBaseInfo($deliveryFeeAmount, $deliveryFeeQuantity)
199 203
     {
200 204
         $BaseInfo = $this->entityManager->find(BaseInfo::class, 1);
@@ -205,6 +209,9 @@  discard block
 block discarded – undo
205 209
         return $BaseInfo;
206 210
     }
207 211
 
212
+    /**
213
+     * @param integer $id
214
+     */
208 215
     private function newShipping($id)
209 216
     {
210 217
         $Shipping = new Shipping();
@@ -229,6 +236,9 @@  discard block
 block discarded – undo
229 236
         return $OrderItem;
230 237
     }
231 238
 
239
+    /**
240
+     * @param integer $fee
241
+     */
232 242
     private function newDeliveryFeeItem($fee, Shipping $Shipping)
233 243
     {
234 244
         $OrderItem = new OrderItem();
Please login to merge, or discard this patch.
Eccube/Tests/Service/PurchaseFlow/Processor/PointDiffProcessorTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -286,6 +286,10 @@
 block discarded – undo
286 286
         ];
287 287
     }
288 288
 
289
+    /**
290
+     * @param integer $price
291
+     * @param integer $quantity
292
+     */
289 293
     private function newOrderItem($ProductClass, $price, $quantity)
290 294
     {
291 295
         $OrderItem = new OrderItem();
Please login to merge, or discard this patch.
tests/Eccube/Tests/Service/PurchaseFlow/Processor/PointProcessorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -410,6 +410,9 @@
 block discarded – undo
410 410
         ];
411 411
     }
412 412
 
413
+    /**
414
+     * @param integer $quantity
415
+     */
413 416
     private function newOrderItem($ProductClass, $price, $quantity)
414 417
     {
415 418
         $OrderItem = new OrderItem();
Please login to merge, or discard this patch.
Eccube/Tests/Service/PurchaseFlow/Processor/StockDiffProcessorTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -227,6 +227,10 @@
 block discarded – undo
227 227
         ];
228 228
     }
229 229
 
230
+    /**
231
+     * @param ProductClass $ProductClass
232
+     * @param integer $price
233
+     */
230 234
     private function newOrderItem($ProductClass, $price, $quantity)
231 235
     {
232 236
         $OrderItem = new OrderItem();
Please login to merge, or discard this patch.
tests/Eccube/Tests/Service/PurchaseFlow/PurchaseFlowTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * PurchaseFlowTest_FailProcessor constructor.
174 174
      *
175
-     * @param $errorMessage
175
+     * @param string $errorMessage
176 176
      */
177 177
     public function __construct($errorMessage)
178 178
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * PurchaseFlowTest_FailProcessor constructor.
194 194
      *
195
-     * @param $errorMessage
195
+     * @param string $errorMessage
196 196
      */
197 197
     public function __construct($errorMessage)
198 198
     {
Please login to merge, or discard this patch.
tests/Eccube/Tests/Web/Admin/AbstractAdminWebTestCase.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @deprecated \Eccube\Tests\Web\AbstractWebTestCase::loginTo() を使用してください.
28
+     * @param \Eccube\Entity\Member $user
28 29
      */
29 30
     public function logIn($user = null)
30 31
     {
Please login to merge, or discard this patch.