@@ -18,8 +18,8 @@ |
||
18 | 18 | $config->setMigrationsTableName(self::MIGRATION_TABLE_PREFIX.$pluginCode); |
19 | 19 | $migration = new Migration($config); |
20 | 20 | $migration->setNoMigrationException(true); |
21 | - // null 又は 'last' を渡すと最新バージョンまでマイグレートする |
|
22 | - // 0か'first'を渡すと最初に戻る |
|
21 | + // null 又は 'last' を渡すと最新バージョンまでマイグレートする |
|
22 | + // 0か'first'を渡すと最初に戻る |
|
23 | 23 | $migration->migrate($version, false); |
24 | 24 | |
25 | 25 |
@@ -9,12 +9,12 @@ |
||
9 | 9 | |
10 | 10 | CONST MIGRATION_TABLE_PREFIX = 'migration_'; |
11 | 11 | |
12 | - public function migrationSchema($app,$migrationFilePath,$pluginCode,$version=null) |
|
12 | + public function migrationSchema($app, $migrationFilePath, $pluginCode, $version = null) |
|
13 | 13 | { |
14 | 14 | $config = new Configuration($app['db']); |
15 | 15 | $config->setMigrationsNamespace('DoctrineMigrations'); |
16 | 16 | $config->setMigrationsDirectory($migrationFilePath); |
17 | - $config->registerMigrationsFromDirectory($migrationFilePath ); |
|
17 | + $config->registerMigrationsFromDirectory($migrationFilePath); |
|
18 | 18 | $config->setMigrationsTableName(self::MIGRATION_TABLE_PREFIX.$pluginCode); |
19 | 19 | $migration = new Migration($config); |
20 | 20 | $migration->setNoMigrationException(true); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | if (is_callable($function)) { |
67 | 67 | return call_user_func_array($function, $arg_list); |
68 | 68 | } |
69 | - trigger_error('Called to an undefined function : php_'. $function, E_USER_WARNING); |
|
69 | + trigger_error('Called to an undefined function : php_'.$function, E_USER_WARNING); |
|
70 | 70 | |
71 | 71 | }, ['pre_escape' => 'html', 'is_safe' => ['html']]), |
72 | 72 | |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | public function getCsrfTokenForAnchor() |
155 | 155 | { |
156 | 156 | $token = $this->app['csrf.token_manager']->getToken(Constant::TOKEN_NAME)->getValue(); |
157 | - return 'token-for-anchor=\'' . $token . '\''; |
|
157 | + return 'token-for-anchor=\''.$token.'\''; |
|
158 | 158 | } |
159 | 159 | |
160 | 160 | /** |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | public function getPriceFilter($number, $decimals = 0, $decPoint = '.', $thousandsSep = ',') |
190 | 190 | { |
191 | 191 | $price = number_format($number, $decimals, $decPoint, $thousandsSep); |
192 | - $price = '¥ ' . $price; |
|
192 | + $price = '¥ '.$price; |
|
193 | 193 | |
194 | 194 | return $price; |
195 | 195 | } |