Completed
Branch apply-codeceptions (1627fe)
by Kentaro
70:52 queued 59:01
created
src/Eccube/Form/Type/Admin/OrderType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
 use Symfony\Component\Form\Extension\Core\Type\EmailType;
35 35
 use Symfony\Component\Form\Extension\Core\Type\HiddenType;
36 36
 use Symfony\Component\Form\Extension\Core\Type\NumberType;
37
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
38 37
 use Symfony\Component\Form\Extension\Core\Type\TextType;
38
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
39 39
 use Symfony\Component\Form\FormBuilderInterface;
40 40
 use Symfony\Component\Form\FormError;
41 41
 use Symfony\Component\Form\FormEvent;
Please login to merge, or discard this patch.
src/Eccube/Repository/OrderRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -537,7 +537,7 @@
 block discarded – undo
537 537
     /**
538 538
      * ステータスごとの受注件数を取得する.
539 539
      *
540
-     * @param $OrderStatusOrId
540
+     * @param integer $OrderStatusOrId
541 541
      *
542 542
      * @return int
543 543
      *
Please login to merge, or discard this patch.
src/Eccube/Service/OrderHelper.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@
 block discarded – undo
30 30
 use Eccube\Entity\Shipping;
31 31
 use Eccube\Repository\DeliveryFeeRepository;
32 32
 use Eccube\Repository\DeliveryRepository;
33
+use Eccube\Repository\Master\DeviceTypeRepository;
33 34
 use Eccube\Repository\Master\OrderItemTypeRepository;
34 35
 use Eccube\Repository\Master\OrderStatusRepository;
35 36
 use Eccube\Repository\OrderRepository;
36 37
 use Eccube\Repository\PaymentRepository;
37 38
 use Eccube\Repository\TaxRuleRepository;
38 39
 use Eccube\Util\StringUtil;
39
-use Eccube\Repository\Master\DeviceTypeRepository;
40 40
 
41 41
 /**
42 42
  * OrderやOrderに関連するエンティティを構築するクラス
Please login to merge, or discard this patch.
src/Eccube/Service/OrderPdfService.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 use Eccube\Entity\Order;
20 20
 use Eccube\Entity\OrderItem;
21 21
 use Eccube\Repository\BaseInfoRepository;
22
-use Eccube\Repository\OrderRepository;
23 22
 use Eccube\Repository\OrderPdfRepository;
23
+use Eccube\Repository\OrderRepository;
24 24
 use Eccube\Twig\Extension\EccubeExtension;
25 25
 use setasign\Fpdi\TcpdfFpdi;
26 26
 
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -286,12 +286,12 @@  discard block
 block discarded – undo
286 286
 
287 287
         // 電話番号
288 288
         $text = 'TEL: '.$this->baseInfoRepository->getPhoneNumber();
289
-        $this->lfText(125, 72, $text, 8);  //TEL・FAX
289
+        $this->lfText(125, 72, $text, 8); //TEL・FAX
290 290
 
291 291
         // メールアドレス
292 292
         if (strlen($this->baseInfoRepository->getEmail01()) > 0) {
293 293
             $text = 'Email: '.$this->baseInfoRepository->getEmail01();
294
-            $this->lfText(125, 75, $text, 8);      // Email
294
+            $this->lfText(125, 75, $text, 8); // Email
295 295
         }
296 296
 
297 297
         // ロゴ画像(app配下のロゴ画像を優先して読み込む)
@@ -306,9 +306,9 @@  discard block
 block discarded – undo
306 306
      */
307 307
     protected function renderMessageData(array $formData)
308 308
     {
309
-        $this->lfText(27, 70, $formData['message1'], 8);  //メッセージ1
310
-        $this->lfText(27, 74, $formData['message2'], 8);  //メッセージ2
311
-        $this->lfText(27, 78, $formData['message3'], 8);  //メッセージ3
309
+        $this->lfText(27, 70, $formData['message1'], 8); //メッセージ1
310
+        $this->lfText(27, 74, $formData['message2'], 8); //メッセージ2
311
+        $this->lfText(27, 78, $formData['message3'], 8); //メッセージ3
312 312
     }
313 313
 
314 314
     /**
@@ -585,12 +585,12 @@  discard block
 block discarded – undo
585 585
                 $ln = ($i == (count($row) - 1)) ? 1 : 0;
586 586
 
587 587
                 $this->MultiCell(
588
-                    $w[$i],             // セル幅
589
-                    $cellHeight,        // セルの最小の高さ
590
-                    $col,               // 文字列
591
-                    1,                  // 境界線の描画方法を指定
592
-                    $align,             // テキストの整列
593
-                    $fill,              // 背景の塗つぶし指定
588
+                    $w[$i], // セル幅
589
+                    $cellHeight, // セルの最小の高さ
590
+                    $col, // 文字列
591
+                    1, // 境界線の描画方法を指定
592
+                    $align, // テキストの整列
593
+                    $fill, // 背景の塗つぶし指定
594 594
                     $ln                 // 出力後のカーソルの移動方法
595 595
                 );
596 596
                 $h = $this->getLastH();
Please login to merge, or discard this patch.
src/Eccube/Service/PurchaseFlow/Processor/PaymentValidator.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
 use Eccube\Entity\Master\SaleType;
20 20
 use Eccube\Entity\Payment;
21 21
 use Eccube\Repository\DeliveryRepository;
22
-use Eccube\Service\PurchaseFlow\PurchaseContext;
23 22
 use Eccube\Service\PurchaseFlow\ItemHolderValidator;
23
+use Eccube\Service\PurchaseFlow\PurchaseContext;
24 24
 
25 25
 /**
26 26
  * 支払い方法が一致しない明細がないかどうか.
Please login to merge, or discard this patch.
src/Eccube/Service/PurchaseFlow/Processor/PointProcessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      * 明細追加処理.
217 217
      *
218 218
      * @param ItemHolderInterface $itemHolder
219
-     * @param $discount
219
+     * @param integer $discount
220 220
      */
221 221
     private function addPointDiscountItem(ItemHolderInterface $itemHolder, $discount)
222 222
     {
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * ポイントを金額に変換する.
257 257
      *
258
-     * @param $point int ポイント
258
+     * @param integer $point int ポイント
259 259
      *
260 260
      * @return int 金額
261 261
      */
Please login to merge, or discard this patch.
src/Eccube/Service/PurchaseFlow/ProcessResult.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -32,11 +32,17 @@
 block discarded – undo
32 32
         $this->message = $message;
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $message
37
+     */
35 38
     public static function warn($message)
36 39
     {
37 40
         return new self(self::WARNING, $message);
38 41
     }
39 42
 
43
+    /**
44
+     * @param string $message
45
+     */
40 46
     public static function error($message)
41 47
     {
42 48
         return new self(self::ERROR, $message);
Please login to merge, or discard this patch.