Failed Conditions
Pull Request — master (#1861)
by k-yamamura
501:04 queued 494:33
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/Monolog/Listener/EccubeMonologListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * Logs master requests on event KernelEvents::Request.
24 24
      *
25
-     * @param FilterControllerEvent $event
25
+     * @param GetResponseEvent $event
26 26
      */
27 27
     public function onKernelRequest(GetResponseEvent $event)
28 28
     {
Please login to merge, or discard this patch.
src/Eccube/ServiceProvider/EccubeMonologServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
 
21 21
 
22 22
         // ヘルパー作成
23
-        $app['eccube.monolog.helper'] = $app->share(function ($app) {
23
+        $app['eccube.monolog.helper'] = $app->share(function($app) {
24 24
             return new EccubeMonologHelper($app);
25 25
         });
26 26
 
27 27
         // ログクラス作成ファクトリー
28
-        $app['eccube.monolog.factory'] = $app->protect(function (array $channelValues) use ($app) {
28
+        $app['eccube.monolog.factory'] = $app->protect(function(array $channelValues) use ($app) {
29 29
 
30 30
             $log = new $app['monolog.logger.class']($channelValues['name']);
31 31
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
         // monologの設定は除外
41 41
         unset($channels['monolog']);
42 42
         foreach ($channels as $channel => $channelValues) {
43
-            $app['monolog.logger.'.$channel] = $app->share(function ($app) use ($channelValues) {
43
+            $app['monolog.logger.'.$channel] = $app->share(function($app) use ($channelValues) {
44 44
                 return $app['eccube.monolog.factory']($channelValues);
45 45
             });
46 46
         }
@@ -48,15 +48,15 @@  discard block
 block discarded – undo
48 48
         // MonologServiceProviderで定義されているmonolog.handlerの置換
49 49
         $channelValues = $app['config']['log']['channel']['monolog'];
50 50
         $app['monolog.name'] = $channelValues['name'];
51
-        $app['monolog.handler'] = $app->share(function ($app) use ($channelValues) {
51
+        $app['monolog.handler'] = $app->share(function($app) use ($channelValues) {
52 52
             return $app['eccube.monolog.helper']->getHandler($channelValues);
53 53
         });
54 54
 
55
-        $app['eccube.monolog.listener'] = $app->share(function () use ($app) {
55
+        $app['eccube.monolog.listener'] = $app->share(function() use ($app) {
56 56
             return new EccubeMonologListener();
57 57
         });
58 58
 
59
-        $app['listener.requestdump'] = $app->share(function ($app) {
59
+        $app['listener.requestdump'] = $app->share(function($app) {
60 60
             return new \Eccube\EventListener\RequestDumpListener($app);
61 61
         });
62 62
     }
Please login to merge, or discard this patch.