Passed
Push — master ( 6b4f2b...cf292b )
by Austin
01:54
created
src/Jobs/WritePayload.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -91,10 +91,10 @@
 block discarded – undo
91 91
     public function handle()
92 92
     {
93 93
         InfluxDbServiceProvider::getInstance()
94
-                               ->writePayload(
95
-                                   $this->payload,
96
-                                   $this->precision,
97
-                                   $this->retentionPolicy
98
-                               );
94
+                                ->writePayload(
95
+                                    $this->payload,
96
+                                    $this->precision,
97
+                                    $this->retentionPolicy
98
+                                );
99 99
     }
100 100
 }
Please login to merge, or discard this patch.
src/Jobs/Write.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@
 block discarded – undo
53 53
     public function handle()
54 54
     {
55 55
         InfluxDbServiceProvider::getInstance()
56
-                               ->write(
57
-                                   $this->parameters,
58
-                                   $this->payload
59
-                               );
56
+                                ->write(
57
+                                    $this->parameters,
58
+                                    $this->payload
59
+                                );
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
src/Jobs/WritePoints.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -91,10 +91,10 @@
 block discarded – undo
91 91
     public function handle()
92 92
     {
93 93
         InfluxDbServiceProvider::getInstance()
94
-                               ->writePoints(
95
-                                   $this->points,
96
-                                   $this->precision,
97
-                                   $this->retentionPolicy
98
-                               );
94
+                                ->writePoints(
95
+                                    $this->points,
96
+                                    $this->precision,
97
+                                    $this->retentionPolicy
98
+                                );
99 99
     }
100 100
 }
Please login to merge, or discard this patch.
src/InfluxDbServiceProvider.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
     public function boot(): void
30 30
     {
31 31
         $this->publishes([
32
-                             __DIR__.'/config/influxdb.php' => config_path('influxdb.php'),
33
-                         ]);
32
+                                __DIR__.'/config/influxdb.php' => config_path('influxdb.php'),
33
+                            ]);
34 34
 
35 35
         $this->mergeConfigFrom(__DIR__.'/config/influxdb.php', 'influxdb');
36 36
 
@@ -62,12 +62,12 @@  discard block
 block discarded – undo
62 62
                 }
63 63
 
64 64
                 $dsn = sprintf('%s://%s:%s@%s:%s/%s',
65
-                               $protocol,
66
-                               config('influxdb.user'),
67
-                               config('influxdb.pass'),
68
-                               config('influxdb.host'),
69
-                               config('influxdb.port'),
70
-                               config('influxdb.database')
65
+                                $protocol,
66
+                                config('influxdb.user'),
67
+                                config('influxdb.pass'),
68
+                                config('influxdb.host'),
69
+                                config('influxdb.port'),
70
+                                config('influxdb.database')
71 71
                 );
72 72
 
73 73
                 return InfluxClient::fromDSN($dsn, $timeout, $verifySsl);
Please login to merge, or discard this patch.
src/InfluxDbFacade.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                 return static::$method(...$arguments);
46 46
             default:
47 47
                 return static::getFacadeRoot()
48
-                             ->$method(...$arguments);
48
+                                ->$method(...$arguments);
49 49
         }
50 50
     }
51 51
 
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
     {
60 60
         if (config('influxdb.queue.enable', false) === true) {
61 61
             Write::dispatch($parameters, $payload)
62
-                 ->onQueue(config('influxdb.queue.name', 'default'));
62
+                    ->onQueue(config('influxdb.queue.name', 'default'));
63 63
         } else {
64 64
             return static::getFacadeRoot()
65
-                         ->write($parameters, $payload);
65
+                            ->write($parameters, $payload);
66 66
         }
67 67
 
68 68
         return true;
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                         ->onQueue(config('influxdb.queue.name', 'default'));
86 86
         } else {
87 87
             return static::getFacadeRoot()
88
-                         ->writePayload($payload, $precision, $retentionPolicy);
88
+                            ->writePayload($payload, $precision, $retentionPolicy);
89 89
         }
90 90
 
91 91
         return true;
@@ -105,10 +105,10 @@  discard block
 block discarded – undo
105 105
     ): bool {
106 106
         if (config('influxdb.queue.enable', false) === true) {
107 107
             WritePoints::dispatch($points, $precision, $retentionPolicy)
108
-                       ->onQueue(config('influxdb.queue.name', 'default'));
108
+                        ->onQueue(config('influxdb.queue.name', 'default'));
109 109
         } else {
110 110
             return static::getFacadeRoot()
111
-                         ->writePoints($points, $precision, $retentionPolicy);
111
+                            ->writePoints($points, $precision, $retentionPolicy);
112 112
         }
113 113
 
114 114
         return true;
Please login to merge, or discard this patch.