Completed
Pull Request — 4.0 (#3592)
by k-yamamura
38:14 queued 28:29
created
codeception/_support/Page/Admin/ProductEditPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 
76 76
     public function 規格管理()
77 77
     {
78
-        $this->tester->scrollTo(['css' => '#standardConfig > div > div.d-block.text-center > a'],0, 200);
78
+        $this->tester->scrollTo(['css' => '#standardConfig > div > div.d-block.text-center > a'], 0, 200);
79 79
         $this->tester->click(['css' => '#standardConfig > div > div.d-block.text-center > a']);
80 80
         $this->tester->waitForElement(['css' => '#standardConfig > div > div.d-block.text-center > a']);
81 81
         $this->tester->wait(1);
Please login to merge, or discard this patch.
codeception/acceptance/EF06OtherCest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         $password = substr(str_shuffle('1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), 0, 20);
98 98
 
99 99
         // メルアド・新パスワード設定
100
-        $I->submitForm('#form1',[
100
+        $I->submitForm('#form1', [
101 101
             'login_email' => $customer->getEmail(),
102 102
             'password[first]' => $password,
103 103
             'password[second]' => $password
Please login to merge, or discard this patch.
codeception/_support/Page/Front/ProductDetailPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * @param null $category2
80 80
      * @return ProductDetailPage
81 81
      */
82
-    public function カートに入れる($num, $category1 = null, $category2= null)
82
+    public function カートに入れる($num, $category1 = null, $category2 = null)
83 83
     {
84 84
         $this->tester->fillField(['id' => 'quantity'], $num);
85 85
         if (!is_null($category1)) {
Please login to merge, or discard this patch.
src/Eccube/Controller/EntryController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
 
271 271
             // Assign session carts into customer carts
272 272
             $Carts = $this->cartService->getCarts();
273
-            $qtyInCart = array_reduce($Carts, function($qty, $Cart) {
273
+            $qtyInCart = array_reduce($Carts, function ($qty, $Cart) {
274 274
                 return $qty + $Cart->getTotalQuantity();
275 275
             });
276 276
 
Please login to merge, or discard this patch.
src/Eccube/Service/PluginApiService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function getCategory()
75 75
     {
76
-        $urlCategory = $this->getApiUrl() . '/category';
76
+        $urlCategory = $this->getApiUrl().'/category';
77 77
 
78 78
         return $this->getRequestApi($urlCategory);
79 79
     }
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public function getPlugins($data)
88 88
     {
89
-        $url = $this->getApiUrl() . '/plugins';
89
+        $url = $this->getApiUrl().'/plugins';
90 90
         $params['category_id'] = $data['category_id'];
91 91
         $params['price_type'] = empty($data['price_type']) ? 'all' : $data['price_type'];
92 92
         $params['keyword'] = $data['keyword'];
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     {
122 122
         $apiUrl = $this->getApiUrl().'/api_key';
123 123
 
124
-        $baseUrl = $this->requestStack->getCurrentRequest()->getSchemeAndHttpHost() . $this->requestStack->getCurrentRequest()->getBasePath();
124
+        $baseUrl = $this->requestStack->getCurrentRequest()->getSchemeAndHttpHost().$this->requestStack->getCurrentRequest()->getBasePath();
125 125
         $data['eccube_url'] = $baseUrl;
126 126
         $data['eccube_version'] = Constant::VERSION;
127 127
 
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
         // Todo: will implement after server worked
151 151
         $key = null;
152
-        $baseUrl = $this->requestStack->getCurrentRequest()->getSchemeAndHttpHost() . $this->requestStack->getCurrentRequest()->getBasePath();
152
+        $baseUrl = $this->requestStack->getCurrentRequest()->getSchemeAndHttpHost().$this->requestStack->getCurrentRequest()->getBasePath();
153 153
         // Option array
154 154
         $options = [
155 155
             // HEADER
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     public function getRequestApi($url, $data = array())
190 190
     {
191 191
         if (count($data) > 0) {
192
-            $url .=  '?' . http_build_query($data);
192
+            $url .= '?'.http_build_query($data);
193 193
         }
194 194
 
195 195
         $curl = curl_init($url);
Please login to merge, or discard this patch.