Completed
Pull Request — master (#57)
by Sullivan
02:58
created
src/Exception/ConnectionNotFoundException.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
 namespace Algatux\InfluxDbBundle\Services\Clients\Contracts;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/Services/ConnectionRegistry.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
 namespace Algatux\InfluxDbBundle\Services\Clients\Contracts;
4 4
 
5 5
 /**
Please login to merge, or discard this patch.
src/Form/Type/TagKeyType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Algatux\InfluxDbBundle\Form\Type;
6 6
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $resolver
24 24
             ->setRequired('measurement')
25 25
             ->setDefaults([
26
-                'choices' => function (Options $options) {
26
+                'choices' => function(Options $options) {
27 27
                     return $this->loadChoicesFromQuery(
28 28
                         sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']),
29 29
                         'tagKey',
Please login to merge, or discard this patch.
src/Form/Type/AbstractInfluxChoiceType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Algatux\InfluxDbBundle\Form\Type;
6 6
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
             ? $this->connectionRegistry->getHttpConnection($connectionName)
46 46
             : $this->connectionRegistry->getDefaultHttpConnection()
47 47
         ;
48
-        $measurements = array_map(function ($point) use ($columnName) {
48
+        $measurements = array_map(function($point) use ($columnName) {
49 49
             return $point[$columnName];
50 50
         }, $connection->query($query)->getPoints());
51 51
 
Please login to merge, or discard this patch.
src/Form/Type/MeasurementType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Algatux\InfluxDbBundle\Form\Type;
6 6
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $resolver
24 24
             ->setRequired('measurement')
25 25
             ->setDefaults([
26
-                'choices' => function (Options $options) {
26
+                'choices' => function(Options $options) {
27 27
                     return $this->loadChoicesFromQuery(
28 28
                         sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']),
29 29
                         'tagKey',
Please login to merge, or discard this patch.
src/Form/Type/TagValueType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Algatux\InfluxDbBundle\Form\Type;
6 6
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $resolver
24 24
             ->setRequired('measurement')
25 25
             ->setDefaults([
26
-                'choices' => function (Options $options) {
26
+                'choices' => function(Options $options) {
27 27
                     return $this->loadChoicesFromQuery(
28 28
                         sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']),
29 29
                         'tagKey',
Please login to merge, or discard this patch.
src/Form/Type/FieldKeyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $resolver
21 21
             ->setRequired(['measurement', 'tag_key'])
22 22
             ->setDefaults([
23
-                'choices' => function (Options $options) {
23
+                'choices' => function(Options $options) {
24 24
                     return $this->loadChoicesFromQuery(
25 25
                         sprintf(
26 26
                             'SHOW TAG VALUES FROM "%s" WITH KEY = "%s"',
Please login to merge, or discard this patch.