@@ -29,7 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | public function インストール($fileName) |
| 31 | 31 | { |
| 32 | - $this->tester->attachFile(['id' => 'plugin_local_install_plugin_archive'], $fileName); |
|
| 32 | + $this->tester->attachFile(['id' => 'plugin_local_install_plugin_archive'], $fileName); |
|
| 33 | 33 | $this->tester->click('#aside_column button'); |
| 34 | 34 | return $this; |
| 35 | 35 | } |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | return "body > div > div.c-contentsArea > div.c-contentsArea__cols > div.c-contentsArea__primaryCol > div > div > div > div > ul > li:nth-child($rowNum) > div > div.col.d-flex.align-items-center > a"; |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | - public static function XPathでタグを取得する($textEl){ |
|
| 101 | + public static function XPathでタグを取得する($textEl) { |
|
| 102 | 102 | return '//*[@id="page_admin_product_category"]/div[1]/div[3]/div[3]/div[1]/div/div/div/div/ul/li/div/div[2]/a[contains(text(), "'.$textEl.'")]'; |
| 103 | 103 | } |
| 104 | 104 | } |
| 105 | 105 | \ No newline at end of file |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\UnitTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -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) { |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | use _generated\FunctionalTesterActions; |
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define custom actions here |
|
| 25 | - */ |
|
| 23 | + /** |
|
| 24 | + * Define custom actions here |
|
| 25 | + */ |
|
| 26 | 26 | } |
@@ -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; |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | { |
| 13 | 13 | $app->extend( |
| 14 | 14 | 'form.type.extensions', |
| 15 | - function ($extensions) { |
|
| 15 | + function($extensions) { |
|
| 16 | 16 | $extensions[] = new EntryTypeExtension(); |
| 17 | 17 | |
| 18 | 18 | return $extensions; |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | { |
| 13 | 13 | public function register(Container $app) |
| 14 | 14 | { |
| 15 | - $app['plugin.query_customize.customer_search'] = function (Container $container) { |
|
| 15 | + $app['plugin.query_customize.customer_search'] = function(Container $container) { |
|
| 16 | 16 | return new AdminCustomerCustomizer(); |
| 17 | 17 | }; |
| 18 | 18 | } |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | { |
| 31 | 31 | public function register(Container $app) |
| 32 | 32 | { |
| 33 | - $app->extend('eccube_twig_block_templates', function ($templates) { |
|
| 33 | + $app->extend('eccube_twig_block_templates', function($templates) { |
|
| 34 | 34 | $templates[] = 'TwigUserFunc/Resource/template/hello_block.twig'; |
| 35 | 35 | |
| 36 | 36 | return $templates; |