Completed
Pull Request — experimental/sf (#3157)
by Kentaro
151:58 queued 143:16
created
codeception/_support/Page/Front/ProductDetailPage.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
     public function 規格選択($array)
64 64
     {
65 65
         foreach ($array as $index=>$option) {
66
-            $this->tester->selectOption(['id' => 'classcategory_id'.($index+1)], $option);
66
+            $this->tester->selectOption(['id' => 'classcategory_id'.($index + 1)], $option);
67 67
         }
68 68
         return $this;
69 69
     }
Please login to merge, or discard this patch.
codeception/_support/Helper/Acceptance.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 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
-            $files = array_filter($files, function ($fileName) use ($downloadDir) {
18
+            $files = array_filter($files, function($fileName) use ($downloadDir) {
19 19
                 return is_file($downloadDir.$fileName) && (strpos($fileName, '.') != 0);
20 20
             });
21 21
             foreach ($files as $f) {
Please login to merge, or discard this patch.
codeception/PageAccessCest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,12 +17,12 @@
 block discarded – undo
17 17
     {
18 18
         $I->wantTo('perform actions and see result');
19 19
         $I->amOnPage('/');
20
-        $I->see('くらしを楽しむライフスタイルグッズ','.copy');
20
+        $I->see('くらしを楽しむライフスタイルグッズ', '.copy');
21 21
         
22
-        $shopName = $I->grabFromDatabase('dtb_base_info','shop_name');
23
-        $I->assertEquals('EC-CUBE3 SHOP',$shopName);
22
+        $shopName = $I->grabFromDatabase('dtb_base_info', 'shop_name');
23
+        $I->assertEquals('EC-CUBE3 SHOP', $shopName);
24 24
 
25
-        $products = $I->grabFromDatabase('dtb_product','status',array('product_id'=>1));
25
+        $products = $I->grabFromDatabase('dtb_product', 'status', array('product_id'=>1));
26 26
         codecept_debug($products);
27 27
 
28 28
         $bi = Fixtures::get('baseinfo');
Please login to merge, or discard this patch.
PurchaseProcessors/ServiceProvider/PurchaseProcessorsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         $app->extend(
27 27
             'eccube.purchase.flow.cart.item_processors',
28
-            function (ArrayCollection $processors, Container $app) {
28
+            function(ArrayCollection $processors, Container $app) {
29 29
                 $processors[] = new EmptyProcessor();
30 30
                 $processors[] = new ValidatableEmptyProcessor();
31 31
 
Please login to merge, or discard this patch.
app/Plugin/TwigUserFunc/ServiceProvider/TwigUserFuncServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     public function register(Container $app)
22 22
     {
23
-        $app->extend('eccube_twig_block_templates', function ($templates) {
23
+        $app->extend('eccube_twig_block_templates', function($templates) {
24 24
             $templates[] = 'TwigUserFunc/Resource/template/hello_block.twig';
25 25
 
26 26
             return $templates;
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
 $trustedProxies = isset($_SERVER['TRUSTED_PROXIES']) ? $_SERVER['TRUSTED_PROXIES'] : false;
43 43
 if ($trustedProxies) {
44
-    Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST);
44
+    Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL^Request::HEADER_X_FORWARDED_HOST);
45 45
 }
46 46
 
47 47
 $trustedHosts = isset($_SERVER['TRUSTED_HOSTS']) ? $_SERVER['TRUSTED_HOSTS'] : false;
Please login to merge, or discard this patch.