Completed
Push — master ( 8590ca...6d3359 )
by Alessandro
02:29
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/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
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
         $resolver
26 26
             ->setDefaults([
27
-                'choices' => function (Options $options) {
27
+                'choices' => function(Options $options) {
28 28
                     return $this->loadChoicesFromQuery(
29 29
                         'SHOW MEASUREMENTS',
30 30
                         'name',
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/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
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         $resolver
23 23
             ->setRequired(['measurement', 'tag_key'])
24 24
             ->setDefaults([
25
-                'choices' => function (Options $options) {
25
+                'choices' => function(Options $options) {
26 26
                     return $this->loadChoicesFromQuery(
27 27
                         sprintf(
28 28
                             '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
                             'SELECT fieldKey FROM "default"._fieldKeys WHERE _name = \'%s\'',
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
 
@@ -22,7 +22,7 @@  discard block
 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.
src/Command/DropDatabaseCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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\Command;
6 6
 
Please login to merge, or discard this patch.
src/Services/ConnectionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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\Services;
6 6
 
Please login to merge, or discard this patch.
src/Exception/ConnectionNotFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 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\Exception;
6 6
 
Please login to merge, or discard this patch.