Passed
Push — master ( 69d786...943a42 )
by yuuki
01:14
created
src/FluentHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Please login to merge, or discard this patch.
src/LogServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -26,10 +26,10 @@  discard block
 block discarded – undo
26 26
 {
27 27
     protected function resolveLogManager(): void
28 28
     {
29
-        $configPath = __DIR__ . '/config/fluent.php';
29
+        $configPath = __DIR__.'/config/fluent.php';
30 30
         $this->mergeConfigFrom($configPath, 'fluent');
31 31
         $this->publishes([$configPath => config_path('fluent.php')], 'log');
32
-        $this->app->singleton(FluentLogManager::class, function ($app) {
32
+        $this->app->singleton(FluentLogManager::class, function($app) {
33 33
 
34 34
             return new FluentLogManager($app);
35 35
         });
Please login to merge, or discard this patch.
src/LumenLogServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
 {
27 27
     protected function resolveLogManager(): void
28 28
     {
29
-        $configPath = __DIR__ . '/config/fluent.php';
29
+        $configPath = __DIR__.'/config/fluent.php';
30 30
         $this->mergeConfigFrom($configPath, 'fluent');
31
-        $this->app->singleton(FluentLogManager::class, function ($app) {
31
+        $this->app->singleton(FluentLogManager::class, function($app) {
32 32
             $app->configure('fluent');
33 33
 
34 34
             return new FluentLogManager($app);
Please login to merge, or discard this patch.
src/LoggableServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $this->resolveLogManager();
37 37
         /** @var LogManager $log */
38 38
         $log = $this->app[LoggerInterface::class];
39
-        $log->extend('fluent', function ($app, array $config) {
39
+        $log->extend('fluent', function($app, array $config) {
40 40
             $manager = $app->make(FluentLogManager::class);
41 41
 
42 42
             return $manager($config);
Please login to merge, or discard this patch.
src/FluentLogManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 /**
5 5
  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 new FluentHandler(
54 54
                     new FluentLogger(
55 55
                         $configure['host'] ?? FluentLogger::DEFAULT_ADDRESS,
56
-                        (int)$configure['port'] ?? FluentLogger::DEFAULT_LISTEN_PORT,
56
+                        (int) $configure['port'] ?? FluentLogger::DEFAULT_LISTEN_PORT,
57 57
                         $configure['options'] ?? [],
58 58
                         $packer
59 59
                     ),
Please login to merge, or discard this patch.