@@ -63,7 +63,7 @@ |
||
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 | } |
@@ -12,10 +12,10 @@ |
||
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) { |
@@ -17,12 +17,12 @@ |
||
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'); |
@@ -25,7 +25,7 @@ |
||
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 |
@@ -20,7 +20,7 @@ |
||
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; |
@@ -41,7 +41,7 @@ |
||
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; |