Completed
Push — experimental/3.1 ( 5f55e6...a5daca )
by Ryo
25s
created
src/Eccube/Repository/ProductRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 $key = sprintf('keyword%s', $index);
114 114
                 $qb
115 115
                     ->andWhere(sprintf('NORMALIZE(p.name) LIKE NORMALIZE(:%s) OR NORMALIZE(p.search_word) LIKE NORMALIZE(:%s)', $key, $key))
116
-                    ->setParameter($key, '%' . $keyword . '%');
116
+                    ->setParameter($key, '%'.$keyword.'%');
117 117
             }
118 118
         }
119 119
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
             $qb
177 177
                 ->andWhere('p.id = :id OR p.name LIKE :likeid OR pc.code LIKE :likeid')
178 178
                 ->setParameter('id', $id)
179
-                ->setParameter('likeid', '%' . $searchData['id'] . '%');
179
+                ->setParameter('likeid', '%'.$searchData['id'].'%');
180 180
         }
181 181
 
182 182
         // code
Please login to merge, or discard this patch.
src/Eccube/Command/GeneratorCommand/AbstractPluginGenerator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -348,7 +348,7 @@  discard block
 block discarded – undo
348 348
      * @param array $metadatas
349 349
      * @param array $fsList
350 350
      * @param $pluginCode
351
-     * @param $codePath
351
+     * @param string $codePath
352 352
      */
353 353
     protected function generateMigration(array $metadatas, array &$fsList = array(), $pluginCode, $codePath)
354 354
     {
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      *
374 374
      * @param $pluginCode
375 375
      * @param array $metadatas
376
-     * @return mixed|string
376
+     * @return string
377 377
      */
378 378
     protected function makeMigration($pluginCode, array $metadatas)
379 379
     {
Please login to merge, or discard this patch.
src/Eccube/Command/PluginCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@
 block discarded – undo
33 33
 use Symfony\Component\Console\Input\InputOption;
34 34
 use Symfony\Component\Console\Output\OutputInterface;
35 35
 use Symfony\Component\Console\Question\Question;
36
-use Symfony\Component\Validator\Constraints as Assert;
37 36
 
38 37
 class PluginCommand extends \Knp\Command\Command
39 38
 {
Please login to merge, or discard this patch.
src/Eccube/Application/ApplicationTrait.php 3 patches
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -2,15 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Eccube\Application;
4 4
 
5
-use Eccube\Event\TemplateEvent;
6
-use Monolog\Logger;
7
-use Symfony\Component\Form\FormBuilder;
8 5
 use Symfony\Component\HttpFoundation\Request;
9 6
 use Symfony\Component\HttpFoundation\Response;
10
-use Symfony\Component\HttpFoundation\StreamedResponse;
11 7
 use Symfony\Component\HttpKernel\HttpKernelInterface;
12
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
13
-use Symfony\Component\Security\Core\User\UserInterface;
14 8
 
15 9
 trait ApplicationTrait
16 10
 {
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,32 +19,32 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function addSuccess($message, $namespace = 'front')
21 21
     {
22
-        $this['session']->getFlashBag()->add('eccube.' . $namespace . '.success', $message);
22
+        $this['session']->getFlashBag()->add('eccube.'.$namespace.'.success', $message);
23 23
     }
24 24
 
25 25
     public function addError($message, $namespace = 'front')
26 26
     {
27
-        $this['session']->getFlashBag()->add('eccube.' . $namespace . '.error', $message);
27
+        $this['session']->getFlashBag()->add('eccube.'.$namespace.'.error', $message);
28 28
     }
29 29
 
30 30
     public function addDanger($message, $namespace = 'front')
31 31
     {
32
-        $this['session']->getFlashBag()->add('eccube.' . $namespace . '.danger', $message);
32
+        $this['session']->getFlashBag()->add('eccube.'.$namespace.'.danger', $message);
33 33
     }
34 34
 
35 35
     public function addWarning($message, $namespace = 'front')
36 36
     {
37
-        $this['session']->getFlashBag()->add('eccube.' . $namespace . '.warning', $message);
37
+        $this['session']->getFlashBag()->add('eccube.'.$namespace.'.warning', $message);
38 38
     }
39 39
 
40 40
     public function addInfo($message, $namespace = 'front')
41 41
     {
42
-        $this['session']->getFlashBag()->add('eccube.' . $namespace . '.info', $message);
42
+        $this['session']->getFlashBag()->add('eccube.'.$namespace.'.info', $message);
43 43
     }
44 44
 
45 45
     public function addRequestError($message, $namespace = 'front')
46 46
     {
47
-        $this['session']->getFlashBag()->set('eccube.' . $namespace . '.request.error', $message);
47
+        $this['session']->getFlashBag()->set('eccube.'.$namespace.'.request.error', $message);
48 48
     }
49 49
 
50 50
     public function clearMessage()
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         if (is_null($namespace)) {
64 64
             $this['session']->getFlashBag()->set('eccube.login.target.path', $targetPath);
65 65
         } else {
66
-            $this['session']->getFlashBag()->set('eccube.' . $namespace . '.login.target.path', $targetPath);
66
+            $this['session']->getFlashBag()->set('eccube.'.$namespace.'.login.target.path', $targetPath);
67 67
         }
68 68
     }
69 69
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * @param Response $response
112 112
      * @return Application
113 113
      */
114
-    public function forwardChain($path, array $requestParameters = [], Response &$response = null)
114
+    public function forwardChain($path, array $requestParameters = [], Response&$response = null)
115 115
     {
116 116
         $response = $this->forward($path, $requestParameters);
117 117
         return $this;
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@  discard block
 block discarded – undo
16 16
 {
17 17
     /**
18 18
      * Application Shortcut Methods
19
+     * @param string $message
19 20
      */
20 21
     public function addSuccess($message, $namespace = 'front')
21 22
     {
@@ -58,6 +59,9 @@  discard block
 block discarded – undo
58 59
         $this->addWarning('admin.delete.warning', 'admin');
59 60
     }
60 61
 
62
+    /**
63
+     * @param string $targetPath
64
+     */
61 65
     public function setLoginTargetPath($targetPath, $namespace = null)
62 66
     {
63 67
         if (is_null($namespace)) {
@@ -109,7 +113,7 @@  discard block
 block discarded – undo
109 113
      * @param string $path フォワード先のパス
110 114
      * @param array $requestParameters
111 115
      * @param Response $response
112
-     * @return Application
116
+     * @return ApplicationTrait
113 117
      */
114 118
     public function forwardChain($path, array $requestParameters = [], Response &$response = null)
115 119
     {
Please login to merge, or discard this patch.
src/Eccube/Form/Type/Admin/ChangePasswordType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,6 @@
 block discarded – undo
27 27
 use Symfony\Component\Form\Extension\Core\Type\PasswordType;
28 28
 use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
29 29
 use Symfony\Component\Form\FormBuilderInterface;
30
-use Symfony\Component\Form\FormError;
31
-use Symfony\Component\Form\FormEvents;
32 30
 use Symfony\Component\OptionsResolver\OptionsResolver;
33 31
 use Symfony\Component\Security\Core\Validator\Constraints\UserPassword;
34 32
 use Symfony\Component\Validator\Constraints as Assert;
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/EccubeServiceProvider.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      * This method should only be used to configure services and parameters.
40 40
      * It should not get services.
41 41
      *
42
-     * @param BaseApplication $app An Application instance
42
+     * @param Container $app An Application instance
43 43
      */
44 44
     public function register(Container $app)
45 45
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use Eccube\Repository\BaseInfoRepository;
32 32
 use Eccube\Repository\DeliveryRepository;
33 33
 use Eccube\Service\PurchaseFlow\Processor\AdminOrderRegisterPurchaseProcessor;
34
-use Eccube\Service\PurchaseFlow\Processor\DeletedProductValidator;
35 34
 use Eccube\Service\PurchaseFlow\Processor\DeliveryFeeFreeProcessor;
36 35
 use Eccube\Service\PurchaseFlow\Processor\DeliveryFeeProcessor;
37 36
 use Eccube\Service\PurchaseFlow\Processor\DeliverySettingValidator;
Please login to merge, or discard this patch.
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -63,15 +63,15 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function register(Container $app)
65 65
     {
66
-        $app[BaseInfo::class] = function () use ($app) {
66
+        $app[BaseInfo::class] = function() use ($app) {
67 67
             return $app[BaseInfoRepository::class]->get();
68 68
         };
69 69
 
70
-        $app['eccube.calculate.context'] = function () use ($app) {
70
+        $app['eccube.calculate.context'] = function() use ($app) {
71 71
                 return new \Eccube\Service\Calculator\CalculateContext();
72 72
         };
73 73
 
74
-        $app['eccube.calculate.strategies'] = function () use ($app) {
74
+        $app['eccube.calculate.strategies'] = function() use ($app) {
75 75
             $Collection = new \Eccube\Service\Calculator\CalculateStrategyCollection();
76 76
             $Collection->setApplication($app);
77 77
             //$Collection->setOrder($Order);
@@ -84,47 +84,47 @@  discard block
 block discarded – undo
84 84
             $Collection->add($app['eccube.calculate.strategy.calculate_total']);
85 85
             return $Collection;
86 86
         };
87
-        $app['eccube.calculate.strategy.shipping'] = function () use ($app) {
87
+        $app['eccube.calculate.strategy.shipping'] = function() use ($app) {
88 88
                 $Strategy = new \Eccube\Service\Calculator\Strategy\ShippingStrategy();
89 89
                 $Strategy->setApplication($app);
90 90
                 return $Strategy;
91 91
         };
92
-        $app['eccube.calculate.strategy.charge'] = function () use ($app) {
92
+        $app['eccube.calculate.strategy.charge'] = function() use ($app) {
93 93
                 $Strategy = new \Eccube\Service\Calculator\Strategy\ChargeStrategy();
94 94
                 $Strategy->setApplication($app);
95 95
                 return $Strategy;
96 96
         };
97 97
 
98
-        $app['eccube.calculate.strategy.tax'] = function () use ($app) {
98
+        $app['eccube.calculate.strategy.tax'] = function() use ($app) {
99 99
                 $Strategy = new \Eccube\Service\Calculator\Strategy\TaxStrategy();
100 100
                 $Strategy->setApplication($app);
101 101
                 return $Strategy;
102 102
         };
103 103
 
104
-        $app['eccube.calculate.strategy.calculate_delivery_fee'] = function () use ($app) {
104
+        $app['eccube.calculate.strategy.calculate_delivery_fee'] = function() use ($app) {
105 105
             $Strategy = new \Eccube\Service\Calculator\Strategy\CalculateDeliveryFeeStrategy();
106 106
             $Strategy->setApplication($app);
107 107
             return $Strategy;
108 108
         };
109
-        $app['eccube.calculate.strategy.calculate_charge'] = function () use ($app) {
109
+        $app['eccube.calculate.strategy.calculate_charge'] = function() use ($app) {
110 110
             $Strategy = new \Eccube\Service\Calculator\Strategy\CalculateChargeStrategy();
111 111
             $Strategy->setApplication($app);
112 112
             return $Strategy;
113 113
         };
114
-        $app['eccube.calculate.strategy.calculate_total'] = function () use ($app) {
114
+        $app['eccube.calculate.strategy.calculate_total'] = function() use ($app) {
115 115
             $Strategy = new \Eccube\Service\Calculator\Strategy\CalculateTotalStrategy();
116 116
             $Strategy->setApplication($app);
117 117
             return $Strategy;
118 118
         };
119 119
 
120
-        $app['payment.method'] = $app->protect(function ($clazz, $form) use ($app) {
120
+        $app['payment.method'] = $app->protect(function($clazz, $form) use ($app) {
121 121
                 $PaymentMethod = new $clazz;
122 122
                 $PaymentMethod->setApplication($app);
123 123
                 $PaymentMethod->setFormType($form);
124 124
                 return $PaymentMethod;
125 125
         });
126 126
 
127
-        $app['payment.method.request'] = $app->protect(function ($clazz, $form, $request) use ($app) {
127
+        $app['payment.method.request'] = $app->protect(function($clazz, $form, $request) use ($app) {
128 128
                 $PaymentMethod = new $clazz;
129 129
                 $PaymentMethod->setApplication($app);
130 130
                 $PaymentMethod->setFormType($form);
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                 return $PaymentMethod;
133 133
         });
134 134
 
135
-        $app['eccube.service.calculate'] = $app->protect(function ($Order, $Customer) use ($app) {
135
+        $app['eccube.service.calculate'] = $app->protect(function($Order, $Customer) use ($app) {
136 136
             $Service = new \Eccube\Service\CalculateService($Order, $Customer);
137 137
             $Context = $app['eccube.calculate.context'];
138 138
             $app['eccube.calculate.strategies']->setOrder($Order);
@@ -143,24 +143,24 @@  discard block
 block discarded – undo
143 143
             return $Service;
144 144
         });
145 145
 
146
-        $app['eccube.service.payment'] = $app->protect(function ($clazz) use ($app) {
146
+        $app['eccube.service.payment'] = $app->protect(function($clazz) use ($app) {
147 147
             $Service = new $clazz($app['request_stack']);
148 148
 
149 149
             return $Service;
150 150
         });
151 151
 
152
-        $app['paginator'] = $app->protect(function () {
152
+        $app['paginator'] = $app->protect(function() {
153 153
             $paginator = new \Knp\Component\Pager\Paginator();
154 154
             $paginator->subscribe(new \Eccube\EventListener\PaginatorListener());
155 155
 
156 156
             return $paginator;
157 157
         });
158 158
 
159
-        $app['request_scope'] = function () {
159
+        $app['request_scope'] = function() {
160 160
             return new ParameterBag();
161 161
         };
162 162
         // TODO 使用するか検討
163
-        $app['eccube.twig.node.hello'] = $app->protect(function ($node, $compiler) {
163
+        $app['eccube.twig.node.hello'] = $app->protect(function($node, $compiler) {
164 164
             $compiler
165 165
             ->addDebugInfo($node)
166 166
             ->write("echo 'Helloooooo ' . ")
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
         });
172 172
         // TODO 使用するか検討
173
-        $app['eccube.twig.node.jiro'] = $app->protect(function ($node, $compiler) {
173
+        $app['eccube.twig.node.jiro'] = $app->protect(function($node, $compiler) {
174 174
             $compiler
175 175
             ->addDebugInfo($node)
176 176
             ->write("echo 'jirooooooo ' . ")
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         });
182 182
 
183 183
         // TODO 使用するか検討
184
-        $app['eccube.twig.generic_node_names'] = function () use ($app) {
184
+        $app['eccube.twig.generic_node_names'] = function() use ($app) {
185 185
             return [
186 186
                 'hello',
187 187
                 'jiro',
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
         };
191 191
 
192 192
         // TODO 使用するか検討
193
-        $app['twig_parsers'] = function () use ($app) {
193
+        $app['twig_parsers'] = function() use ($app) {
194 194
             $GenericTokenParsers = [];
195 195
             foreach ($app['eccube.twig.generic_node_names'] as $tagName) {
196 196
                 $GenericTokenParsers[] = new \Eccube\Twig\Extension\GenericTokenParser($app, $tagName);
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
             return $GenericTokenParsers;
199 199
         };
200 200
 
201
-        $app['eccube.twig.block.templates'] = function () {
201
+        $app['eccube.twig.block.templates'] = function() {
202 202
             $templates = new ArrayCollection();
203 203
             $templates[] = 'render_block.twig';
204 204
 
@@ -206,17 +206,17 @@  discard block
 block discarded – undo
206 206
         };
207 207
 
208 208
         $app['eccube.entity.event.dispatcher']->addEventListener(new \Acme\Entity\SoldOutEventListener());
209
-        $app['eccube.queries'] = function () {
209
+        $app['eccube.queries'] = function() {
210 210
             return new \Eccube\Doctrine\Query\Queries();
211 211
         };
212 212
         // TODO QueryCustomizerの追加方法は要検討
213 213
         $app['eccube.queries']->addCustomizer(new \Acme\Entity\AdminProductListCustomizer());
214 214
 
215
-        $app['eccube.purchase.context'] = $app->protect(function (ItemHolderInterface $origin = null) {
215
+        $app['eccube.purchase.context'] = $app->protect(function(ItemHolderInterface $origin = null) {
216 216
             return new PurchaseContext($origin);
217 217
         });
218 218
 
219
-        $app['eccube.purchase.flow.cart.item_processors'] = function ($app) {
219
+        $app['eccube.purchase.flow.cart.item_processors'] = function($app) {
220 220
             $processors = new ArrayCollection();
221 221
             $processors->add(new DisplayStatusValidator());
222 222
             $processors->add(new SaleLimitValidator());
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             return $processors;
226 226
         };
227 227
 
228
-        $app['eccube.purchase.flow.cart.holder_processors'] = function ($app) {
228
+        $app['eccube.purchase.flow.cart.holder_processors'] = function($app) {
229 229
             $processors = new ArrayCollection();
230 230
             $processors->add(new PaymentProcessor($app[DeliveryRepository::class]));
231 231
             $processors->add(new PaymentTotalLimitValidator($app['config']['max_total_fee']));
@@ -236,14 +236,14 @@  discard block
 block discarded – undo
236 236
         };
237 237
 
238 238
         // example
239
-        $app->extend('eccube.purchase.flow.cart.item_processors', function ($processors, $app) {
239
+        $app->extend('eccube.purchase.flow.cart.item_processors', function($processors, $app) {
240 240
 
241 241
             $processors->add(new StockValidator());
242 242
 
243 243
             return $processors;
244 244
         });
245 245
 
246
-        $app['eccube.purchase.flow.cart'] = function ($app) {
246
+        $app['eccube.purchase.flow.cart'] = function($app) {
247 247
             $flow = new PurchaseFlow();
248 248
             $flow->setItemProcessors($app['eccube.purchase.flow.cart.item_processors']);
249 249
             $flow->setItemHolderProcessors($app['eccube.purchase.flow.cart.holder_processors']);
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
             return $flow;
252 252
         };
253 253
 
254
-        $app['eccube.purchase.flow.shopping'] = function () use ($app) {
254
+        $app['eccube.purchase.flow.shopping'] = function() use ($app) {
255 255
             $flow = new PurchaseFlow();
256 256
             $flow->addItemProcessor(new StockValidator());
257 257
             $flow->addItemProcessor(new DisplayStatusValidator());
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
             return $flow;
262 262
         };
263 263
 
264
-        $app['eccube.purchase.flow.order'] = function () use ($app) {
264
+        $app['eccube.purchase.flow.order'] = function() use ($app) {
265 265
             $flow = new PurchaseFlow();
266 266
             $flow->addItemProcessor(new StockValidator());
267 267
             $flow->addItemHolderProcessor(new PaymentTotalLimitValidator($app['config']['max_total_fee']));
Please login to merge, or discard this patch.
src/Eccube/Application/TwigTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,14 +40,14 @@
 block discarded – undo
40 40
         $eventName = $view;
41 41
         if ($this->isAdminRequest()) {
42 42
             // 管理画面の場合、event名に「Admin/」を付ける
43
-            $eventName = 'Admin/' . $view;
43
+            $eventName = 'Admin/'.$view;
44 44
         }
45
-        $this['monolog']->debug('Template Event Name : ' . $eventName);
45
+        $this['monolog']->debug('Template Event Name : '.$eventName);
46 46
 
47 47
         // $this['eccube.event.dispatcher']->dispatch($eventName, $event);
48 48
 
49 49
         if ($response instanceof StreamedResponse) {
50
-            $response->setCallback(function () use ($twig, $view, $parameters) {
50
+            $response->setCallback(function() use ($twig, $view, $parameters) {
51 51
                 $twig->display($view, $parameters);
52 52
             });
53 53
         } else {
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/LogServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -22,17 +22,17 @@  discard block
 block discarded – undo
22 22
         $app->register(new \Silex\Provider\MonologServiceProvider());
23 23
 
24 24
         // Log
25
-        $app['eccube.logger'] = function ($app) {
25
+        $app['eccube.logger'] = function($app) {
26 26
             return new Logger($app);
27 27
         };
28 28
 
29 29
         // ヘルパー作成
30
-        $app['eccube.monolog.helper'] = function ($app) {
30
+        $app['eccube.monolog.helper'] = function($app) {
31 31
             return new LogHelper($app);
32 32
         };
33 33
 
34 34
         // ログクラス作成ファクトリー
35
-        $app['eccube.monolog.factory'] = $app->protect(function (array $channelValues) use ($app) {
35
+        $app['eccube.monolog.factory'] = $app->protect(function(array $channelValues) use ($app) {
36 36
 
37 37
             $log = new $app['monolog.logger.class']($channelValues['name']);
38 38
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         // monologの設定は除外
48 48
         unset($channels['monolog']);
49 49
         foreach ($channels as $channel => $channelValues) {
50
-            $app['monolog.logger.'.$channel] = function ($app) use ($channelValues) {
50
+            $app['monolog.logger.'.$channel] = function($app) use ($channelValues) {
51 51
                 return $app['eccube.monolog.factory']($channelValues);
52 52
             };
53 53
         }
@@ -55,15 +55,15 @@  discard block
 block discarded – undo
55 55
         // MonologServiceProviderで定義されているmonolog.handlerの置換
56 56
         $channelValues = $app['config']['log']['channel']['monolog'];
57 57
         $app['monolog.name'] = $channelValues['name'];
58
-        $app['monolog.handler'] = function ($app) use ($channelValues) {
58
+        $app['monolog.handler'] = function($app) use ($channelValues) {
59 59
             return $app['eccube.monolog.helper']->getHandler($channelValues);
60 60
         };
61 61
 
62
-        $app['eccube.monolog.listener'] = function () use ($app) {
62
+        $app['eccube.monolog.listener'] = function() use ($app) {
63 63
             return new LogListener($app['eccube.logger']);
64 64
         };
65 65
 
66
-        $app['listener.requestdump'] = function ($app) {
66
+        $app['listener.requestdump'] = function($app) {
67 67
             return new \Eccube\EventListener\RequestDumpListener($app);
68 68
         };
69 69
     }
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/InstallServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,13 +42,13 @@
 block discarded – undo
42 42
      */
43 43
     public function register(Container $app)
44 44
     {
45
-        $app->extend('form.type.extensions', function ($extensions) use ($app) {
45
+        $app->extend('form.type.extensions', function($extensions) use ($app) {
46 46
             $extensions[] = new \Eccube\Form\Extension\HelpTypeExtension();
47 47
 
48 48
             return $extensions;
49 49
         });
50 50
 
51
-        $app->extend('form.types', function ($types) use ($app) {
51
+        $app->extend('form.types', function($types) use ($app) {
52 52
             $types[] = new \Eccube\Form\Type\Install\Step1Type($app);
53 53
             $types[] = new \Eccube\Form\Type\Install\Step3Type($app);
54 54
             $types[] = new \Eccube\Form\Type\Install\Step4Type($app);
Please login to merge, or discard this patch.