Completed
Push — influxdb ( cf9cfb )
by
unknown
09:10
created
src/Repositories/InfluxdbRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 		$point
80 80
 			->addTag('cms_version', $data->cms_version)
81 81
 			->addTag('cms_major', $matches[1])
82
-			->addTag('cms_minor', $matches[1] . '.' . $matches[2]);
82
+			->addTag('cms_minor', $matches[1].'.'.$matches[2]);
83 83
 
84 84
 		$writeApi->write($point, WritePrecision::S, 'cms');
85 85
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
                 ->addTag('db_driver', $data->db_type)
109 109
                 ->addTag('db_server', $dbServer)
110 110
                 ->addTag('db_major', $matches[1])
111
-                ->addTag('db_minor', $matches[1] . '.' . $matches[2]);
111
+                ->addTag('db_minor', $matches[1].'.'.$matches[2]);
112 112
 
113 113
             $writeApi->write($point, WritePrecision::S, 'database');
114 114
         }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
             $point
134 134
                 ->addTag('php_version', $data->php_version)
135 135
                 ->addTag('db_major', $matches[1])
136
-                ->addTag('db_minor', $matches[1] . '.' . $matches[2]);
136
+                ->addTag('db_minor', $matches[1].'.'.$matches[2]);
137 137
             $writeApi->write($point, WritePrecision::S, 'php');
138 138
         }
139 139
 	}
Please login to merge, or discard this patch.
src/Kernel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
         $container->share(
114 114
                 \InfluxDB2\Client::class,
115
-                function (Container $container) {
115
+                function(Container $container) {
116 116
                     /** @var \Joomla\Registry\Registry $config */
117 117
                     $config  = $container->get('config');
118 118
                     $options = (array) $config->get('influxdb');
@@ -133,11 +133,11 @@  discard block
 block discarded – undo
133 133
 	private function loadConfiguration(): Registry
134 134
 	{
135 135
 		$registry = new Registry;
136
-		$registry->loadFile(APPROOT . '/etc/config.dist.json');
136
+		$registry->loadFile(APPROOT.'/etc/config.dist.json');
137 137
 
138
-		if (file_exists(APPROOT . '/etc/config.json'))
138
+		if (file_exists(APPROOT.'/etc/config.json'))
139 139
 		{
140
-			$registry->loadFile(APPROOT . '/etc/config.json');
140
+			$registry->loadFile(APPROOT.'/etc/config.json');
141 141
 		}
142 142
 
143 143
 		return $registry;
Please login to merge, or discard this patch.