Failed Conditions
Pull Request — master (#1861)
by k-yamamura
474:27 queued 464:07
created
src/Eccube/Monolog/Helper/EccubeMonologHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
         $webProcessor = new EccubeWebProcessor();
101 101
         $uidProcessor = new UidProcessor(8);
102 102
 
103
-        $FingerCrossedHandler->pushProcessor(function ($record) use ($app, $uidProcessor, $webProcessor) {
103
+        $FingerCrossedHandler->pushProcessor(function($record) use ($app, $uidProcessor, $webProcessor) {
104 104
             // ログフォーマットに出力する値を独自に設定
105 105
 
106 106
             $record['level_name'] = sprintf("%-5s", $record['level_name']);
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/EccubeMonologServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
 
20 20
 
21 21
         // ヘルパー作成
22
-        $app['eccube.monolog.helper'] = $app->share(function ($app) {
22
+        $app['eccube.monolog.helper'] = $app->share(function($app) {
23 23
             return new EccubeMonologHelper($app);
24 24
         });
25 25
 
26 26
         // ログクラス作成ファクトリー
27
-        $app['eccube.monolog.factory'] = $app->protect(function (array $channelValues) use ($app) {
27
+        $app['eccube.monolog.factory'] = $app->protect(function(array $channelValues) use ($app) {
28 28
 
29 29
             $log = new $app['monolog.logger.class']($channelValues['name']);
30 30
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         // monologの設定は除外
40 40
         unset($channels['monolog']);
41 41
         foreach ($channels as $channel => $channelValues) {
42
-            $app['monolog.logger.'.$channel] = $app->share(function ($app) use ($channelValues) {
42
+            $app['monolog.logger.'.$channel] = $app->share(function($app) use ($channelValues) {
43 43
                 return $app['eccube.monolog.factory']($channelValues);
44 44
             });
45 45
         }
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
         // MonologServiceProviderで定義されているmonolog.handlerの置換
48 48
         $channelValues = $app['config']['log']['channel']['monolog'];
49 49
         $app['monolog.name'] = $channelValues['name'];
50
-        $app['monolog.handler'] = $app->share(function ($app) use ($channelValues) {
50
+        $app['monolog.handler'] = $app->share(function($app) use ($channelValues) {
51 51
             return $app['eccube.monolog.helper']->getHandler($channelValues);
52 52
         });
53 53
 
54
-        $app['listener.requestdump'] = $app->share(function ($app) {
54
+        $app['listener.requestdump'] = $app->share(function($app) {
55 55
             return new \Eccube\EventListener\RequestDumpListener($app);
56 56
         });
57 57
     }
Please login to merge, or discard this patch.