Completed
Push — master ( 81f84a...9d54a5 )
by Vladimir
11:26 queued 03:04
created
src/Check/rabbitmq/QueueConsumer/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $node = $node
60 60
             ->beforeNormalization()
61 61
                 ->ifArray()
62
-                ->then(static function ($value) use ($keys) {
62
+                ->then(static function($value) use ($keys) {
63 63
                     foreach ($keys as $key) {
64 64
                         if (isset($value[$key])) {
65 65
                             foreach ($value['items'] as &$v) {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 ->arrayNode('check')
96 96
                     ->beforeNormalization()
97 97
                         ->ifString()
98
-                        ->then(static function ($v) { return ['dsn' => $v]; })
98
+                        ->then(static function($v) { return ['dsn' => $v]; })
99 99
                     ->end()
100 100
                     ->children()
101 101
                         ->scalarNode('queue')->isRequired()->end()
Please login to merge, or discard this patch.
src/Check/rabbitmq/RabbitMQ/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $node = $node
58 58
             ->beforeNormalization()
59 59
             ->ifArray()
60
-            ->then(static function ($value) use ($keys) {
60
+            ->then(static function($value) use ($keys) {
61 61
                 foreach ($keys as $key) {
62 62
                     if (isset($value[$key])) {
63 63
                         foreach ($value['items'] as &$v) {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
                 ->arrayNode('check')
92 92
                     ->beforeNormalization()
93 93
                         ->ifString()
94
-                        ->then(static function ($v) { return ['dsn' => $v]; })
94
+                        ->then(static function($v) { return ['dsn' => $v]; })
95 95
                     ->end()
96 96
                     ->children()
97 97
                         ->scalarNode('host')->defaultValue('localhost')->end()
Please login to merge, or discard this patch.
src/Check/rabbitmq/QueueSize/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $node = $node
60 60
             ->beforeNormalization()
61 61
                 ->ifArray()
62
-                ->then(static function ($value) use ($keys) {
62
+                ->then(static function($value) use ($keys) {
63 63
                     foreach ($keys as $key) {
64 64
                         if (isset($value[$key])) {
65 65
                             foreach ($value['items'] as &$v) {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 ->arrayNode('check')
96 96
                     ->beforeNormalization()
97 97
                         ->ifString()
98
-                        ->then(static function ($v) { return ['dsn' => $v]; })
98
+                        ->then(static function($v) { return ['dsn' => $v]; })
99 99
                     ->end()
100 100
                     ->children()
101 101
                         ->scalarNode('queue')->isRequired()->end()
Please login to merge, or discard this patch.
src/Check/http/GuzzleHttpService/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $node = $node
57 57
             ->beforeNormalization()
58 58
             ->ifArray()
59
-            ->then(static function ($value) use ($keys) {
59
+            ->then(static function($value) use ($keys) {
60 60
                 foreach ($keys as $key) {
61 61
                     if (isset($value[$key])) {
62 62
                         foreach ($value['items'] as &$v) {
Please login to merge, or discard this patch.
src/Check/http/GuzzleHttpService/GuzzleHttpService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
     {
150 150
         return $this->request instanceof PsrRequestInterface
151 151
             ? (string) $this->request->getUri() // guzzle 6
152
-            : $this->request->getUrl();         // guzzle 4 and 5
152
+            : $this->request->getUrl(); // guzzle 4 and 5
153 153
     }
154 154
 
155 155
     /**
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,11 +75,11 @@  discard block
 block discarded – undo
75 75
 
76 76
         $checkPligins = $this->checkPlugins;
77 77
 
78
-        $addChecks = function ($rootNode) use ($checkPligins, $builder) {
78
+        $addChecks = function($rootNode) use ($checkPligins, $builder) {
79 79
             foreach ($this->checkPluginClasses as $checkPluginClass) {
80 80
                 $checkPlugin = new $checkPluginClass();
81 81
 
82
-                $confMethods = array_filter(get_class_methods($checkPlugin), static function ($n) {
82
+                $confMethods = array_filter(get_class_methods($checkPlugin), static function($n) {
83 83
                     return preg_match('/Conf$/', $n);
84 84
                 });
85 85
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $node = $builder
107 107
             ->root('checks', 'array')
108 108
             ->beforeNormalization()
109
-            ->always(static function ($value) {
109
+            ->always(static function($value) {
110 110
                 $value = $value ? $value : [];
111 111
                 foreach ($value as $k => $v) {
112 112
                     $newK = str_replace('(s)', '_factory', $k);
Please login to merge, or discard this patch.