Passed
Push — master ( de7816...ce3a1e )
by Nikolaos
07:17
created
src/Storage/Adapter/Libmemcached.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
                     Memcached::OPT_REMOVE_FAILED_SERVERS => true,
146 146
                     Memcached::OPT_RETRY_TIMEOUT         => 1,
147 147
                 ];
148
-                $client   = array_merge($failover, $client);
148
+                $client = array_merge($failover, $client);
149 149
 
150 150
                 $this
151 151
                     ->setOptions($connection, $client)
Please login to merge, or discard this patch.
src/Storage/Adapter/Stream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      */
257 257
     public function set(string $key, $value, $ttl = null): bool
258 258
     {
259
-        $payload   = [
259
+        $payload = [
260 260
             "created" => time(),
261 261
             "ttl"     => $this->getTtl($ttl),
262 262
             "content" => $this->getSerializedData($value),
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
         }
337 337
 
338 338
         set_error_handler(
339
-            function ($number, $message, $file, $line, $context) use (&$warning) {
339
+            function($number, $message, $file, $line, $context) use (&$warning) {
340 340
                 $warning = true;
341 341
             },
342 342
             E_NOTICE
Please login to merge, or discard this patch.
src/Storage/Serializer/Php.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
             $warning = false;
59 59
             set_error_handler(
60
-                function ($number, $message, $file, $line, $context) use (&$warning) {
60
+                function($number, $message, $file, $line, $context) use (&$warning) {
61 61
                     $warning = true;
62 62
                 },
63 63
                 E_NOTICE
Please login to merge, or discard this patch.
src/Storage/Serializer/Igbinary.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         $warning = false;
54 54
         set_error_handler(
55
-            function ($number, $message, $file, $line, $context) use (&$warning) {
55
+            function($number, $message, $file, $line, $context) use (&$warning) {
56 56
                 $warning = true;
57 57
             },
58 58
             E_WARNING
Please login to merge, or discard this patch.
src/Http/Message/Stream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
         $handle  = $stream;
299 299
         if (is_string($stream)) {
300 300
             set_error_handler(
301
-                function ($error) use (&$warning) {
301
+                function($error) use (&$warning) {
302 302
                     if ($error === E_WARNING) {
303 303
                         $warning = true;
304 304
                     }
Please login to merge, or discard this patch.
src/Storage/Serializer/Msgpack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         $warning = false;
54 54
         set_error_handler(
55
-            function ($number, $message, $file, $line, $context) use (&$warning) {
55
+            function($number, $message, $file, $line, $context) use (&$warning) {
56 56
                 $warning = true;
57 57
             },
58 58
             E_WARNING
Please login to merge, or discard this patch.
src/Html/Helper/Input/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     public function optGroup(string $label = null, array $attributes = []): Select
115 115
     {
116 116
         if (!$this->inOptGroup) {
117
-            $this->store[]     = [
117
+            $this->store[] = [
118 118
                 "optGroupStart",
119 119
                 [
120 120
                     $label,
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             $this->indentLevel += 1;
126 126
         } else {
127 127
             $this->indentLevel -= 1;
128
-            $this->store[]     = [
128
+            $this->store[] = [
129 129
                 "optGroupEnd",
130 130
                 [],
131 131
                 $this->indent(),
Please login to merge, or discard this patch.
src/Helper/Arr.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
     ): array {
60 60
         $blackList = array_filter(
61 61
             $blackList,
62
-            function ($element) {
62
+            function($element) {
63 63
                 return is_int($element) || is_string($element);
64 64
             }
65 65
         );
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
          */
473 473
         $whiteList = self::filter(
474 474
             $whiteList,
475
-            function ($element) {
475
+            function($element) {
476 476
                 return is_int($element) || is_string($element);
477 477
             }
478 478
         );
Please login to merge, or discard this patch.
src/Http/Message/AbstractMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@
 block discarded – undo
357 357
     final protected function checkHeaderName($name): void
358 358
     {
359 359
         if (
360
-            !is_string($name)  ||
360
+            !is_string($name) ||
361 361
             !preg_match("/^[a-zA-Z0-9'`#$%&*+.^_|~!-]+$/", $name)
362 362
         ) {
363 363
             throw new InvalidArgumentException(
Please login to merge, or discard this patch.