Completed
Pull Request — master (#84)
by Alessandro
01:41
created
src/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@
 block discarded – undo
25 25
 
26 26
         $rootNode
27 27
             ->beforeNormalization()
28
-                ->ifTrue(function ($v) {
28
+                ->ifTrue(function($v) {
29 29
                     return is_array($v) && !array_key_exists('connections', $v);
30 30
                 })
31
-                ->then(function ($v) {
31
+                ->then(function($v) {
32 32
                     $excludedKeys = ['default_connection'];
33 33
                     $connection = [];
34 34
                     foreach ($v as $key => $value) {
Please login to merge, or discard this patch.
src/Form/Type/TagValueType.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.
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')
22 22
             ->setDefaults([
23
-                'choices' => function (Options $options) {
23
+                'choices' => function(Options $options) {
24 24
                     return $this->loadChoicesFromQuery(
25 25
                         sprintf(
26 26
                             'SHOW FIELD KEYS FROM "%s"',
Please login to merge, or discard this patch.
src/Form/Type/MeasurementType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 
22 22
         $resolver
23 23
             ->setDefaults([
24
-                'choices' => function (Options $options) {
24
+                'choices' => function(Options $options) {
25 25
                     return $this->loadChoicesFromQuery(
26 26
                         'SHOW MEASUREMENTS',
27 27
                         'name',
Please login to merge, or discard this patch.
src/Form/Type/AbstractInfluxChoiceType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
             ? $this->connectionRegistry->getHttpConnection($connectionName)
69 69
             : $this->connectionRegistry->getDefaultHttpConnection()
70 70
         ;
71
-        $measurements = array_map(function ($point) use ($columnName) {
71
+        $measurements = array_map(function($point) use ($columnName) {
72 72
             return $point[$columnName];
73 73
         }, $connection->query($query)->getPoints());
74 74
 
Please login to merge, or discard this patch.
src/Form/Type/TagKeyType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $resolver
23 23
             ->setRequired('measurement')
24 24
             ->setDefaults([
25
-                'choices' => function (Options $options) {
25
+                'choices' => function(Options $options) {
26 26
                     $choices = $this->loadChoicesFromQuery(
27 27
                         sprintf('SHOW TAG KEYS FROM "%s"', $options['measurement']),
28 28
                         'tagKey',
Please login to merge, or discard this patch.