Completed
Push — apply-codeceptions ( 341052...a29855 )
by Kentaro
53:23 queued 21:51
created
codeception/_support/Page/Front/MultipleShippingPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,14 +52,14 @@
 block discarded – undo
52 52
 
53 53
     public function 入力_お届け先($productNo, $shippingNo, $text)
54 54
     {
55
-        $id = 'form_shipping_multiple_' . $productNo . '_shipping_' . $shippingNo . '_customer_address';
55
+        $id = 'form_shipping_multiple_'.$productNo.'_shipping_'.$shippingNo.'_customer_address';
56 56
         $this->tester->selectOption(['id' => $id], ['text' => $text]);
57 57
         return $this;
58 58
     }
59 59
 
60 60
     public function 入力_数量($productNo, $shippingNo, $value)
61 61
     {
62
-        $id = 'form_shipping_multiple_' . $productNo . '_shipping_' . $shippingNo . '_quantity';
62
+        $id = 'form_shipping_multiple_'.$productNo.'_shipping_'.$shippingNo.'_quantity';
63 63
         $this->tester->fillField(['id' => $id], $value);
64 64
         return $this;
65 65
     }
Please login to merge, or discard this patch.
codeception/_support/Page/Admin/ProductManagePage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     {
64 64
         $this->tester->click(self::$詳細検索ボタン);
65 65
         $this->tester->wait(1);
66
-        $this->tester->checkOption(['id' => 'admin_search_product_status_' . $value]);
66
+        $this->tester->checkOption(['id' => 'admin_search_product_status_'.$value]);
67 67
         $this->tester->click(self::$検索ボタン);
68 68
         $this->tester->see('商品一覧商品管理', '.c-pageTitle');
69 69
         return $this;
Please login to merge, or discard this patch.
codeception/_support/Helper/Acceptance.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     private function clearDownloadDir()
14 14
     {
15
-        $downloadDir = dirname(__DIR__) . '/_downloads/';
15
+        $downloadDir = dirname(__DIR__).'/_downloads/';
16 16
         if (file_exists($downloadDir)) {
17 17
             $files = scandir($downloadDir);
18 18
             $files = array_filter($files, function ($fileName) use ($downloadDir) {
Please login to merge, or discard this patch.
codeception/acceptance/_bootstrap.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 use Faker\Factory as Faker;
9 9
 
10 10
 
11
-$config = parse_ini_file(__DIR__.'/config.ini',true);
11
+$config = parse_ini_file(__DIR__.'/config.ini', true);
12 12
 
13 13
 /**
14 14
  * create fixture
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 $faker = Faker::create('ja_JP');
36 36
 Fixtures::add('faker', $faker);
37 37
 
38
-$progress = (function()
38
+$progress = (function ()
39 39
 {
40 40
     $current = '';
41 41
     return function ($key) use (&$current) {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     ->getQuery()
73 73
     ->getSingleScalarResult();
74 74
 // 受注生成件数 + 初期データの商品が生成されているはず
75
-if ($num < ($config['fixture_product_num']+2)) {
75
+if ($num < ($config['fixture_product_num'] + 2)) {
76 76
     // 規格なしも含め $config['fixture_product_num'] の分だけ生成する
77 77
     for ($i = 0; $i < $config['fixture_product_num'] - 1; $i++) {
78 78
         $progress('Generating Products');
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
  */
161 161
 
162 162
 /** 管理画面アカウント情報. */
163
-Fixtures::add('admin_account',array(
163
+Fixtures::add('admin_account', array(
164 164
     'member' => $config['admin_user'],
165 165
     'password' => $config['admin_password'],
166 166
 ));
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
 $deleteShippingNotExistsOfItem = function () use ($entityManager) {
227 227
 
228
-    $Shippings= $entityManager->getRepository('Eccube\Entity\Shipping')->findAll();
228
+    $Shippings = $entityManager->getRepository('Eccube\Entity\Shipping')->findAll();
229 229
 
230 230
     if ($Shippings) {
231 231
         foreach ($Shippings as $Shipping) {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
 /** 商品を検索するクロージャ. */
251 251
 Fixtures::add('findProducts', $findProducts);
252 252
 
253
-$createProduct = function($product_name = null, $product_class_num = 3) use ($container) {
253
+$createProduct = function ($product_name = null, $product_class_num = 3) use ($container) {
254 254
     return createProduct($container, $product_name, $product_class_num);
255 255
 };
256 256
 Fixtures::add('createProduct', $createProduct);
Please login to merge, or discard this patch.
codeception/acceptance/EA05CustomerCest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
         $CustomerListPage = CustomerManagePage::go($I)
145 145
             ->検索($customer->getEmail());
146 146
 
147
-        $I->see('検索結果:1件が該当しました' ,CustomerManagePage::$検索結果メッセージ);
147
+        $I->see('検索結果:1件が該当しました', CustomerManagePage::$検索結果メッセージ);
148 148
 
149 149
         $CustomerListPage->一覧_編集(1);
150 150
 
Please login to merge, or discard this patch.