Completed
Pull Request — experimental/3.1 (#2263)
by Kentaro
37:57
created
src/Eccube/Plugin/AbstractPluginManager.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Eccube/Twig/Extension/EccubeExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.