Passed
Pull Request — master (#31)
by Anatoly
03:57
created
src/ServerRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -358,8 +358,8 @@
 block discarded – undo
358 358
         /**
359 359
          * @psalm-suppress MissingClosureParamType
360 360
          */
361
-        array_walk_recursive($files, static function ($file): void {
362
-            if (! ($file instanceof UploadedFileInterface)) {
361
+        array_walk_recursive($files, static function($file): void {
362
+            if (!($file instanceof UploadedFileInterface)) {
363 363
                 throw new InvalidArgumentException('Invalid uploaded file');
364 364
             }
365 365
         });
Please login to merge, or discard this patch.
src/Uri/Component/Fragment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         $this->value = (string) preg_replace_callback(
68 68
             self::NORMALIZATION_REGEX,
69
-            static function (array $match): string {
69
+            static function(array $match): string {
70 70
                 /** @var array{0: string, 1?: string} $match */
71 71
                 return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
72 72
             },
Please login to merge, or discard this patch.
src/Uri/Component/Password.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         $this->value = (string) preg_replace_callback(
68 68
             self::NORMALIZATION_REGEX,
69
-            static function (array $match): string {
69
+            static function(array $match): string {
70 70
                 /** @var array{0: string, 1?: string} $match */
71 71
                 return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
72 72
             },
Please login to merge, or discard this patch.
src/Uri/Component/Host.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 
68 68
         $this->value = (string) preg_replace_callback(
69 69
             self::NORMALIZATION_REGEX,
70
-            static function (array $match): string {
70
+            static function(array $match): string {
71 71
                 /** @var array{0: string, 1?: string} $match */
72 72
                 return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
73 73
             },
Please login to merge, or discard this patch.
src/Uri/Component/Path.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         $this->value = (string) preg_replace_callback(
68 68
             self::NORMALIZATION_REGEX,
69
-            static function (array $match): string {
69
+            static function(array $match): string {
70 70
                 /** @var array{0: string, 1?: string} $match */
71 71
                 return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
72 72
             },
Please login to merge, or discard this patch.
src/Uri/Component/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         $this->value = (string) preg_replace_callback(
68 68
             self::NORMALIZATION_REGEX,
69
-            static function (array $match): string {
69
+            static function(array $match): string {
70 70
                 /** @var array{0: string, 1?: string} $match */
71 71
                 return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
72 72
             },
Please login to merge, or discard this patch.
src/Uri/Component/User.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         $this->value = (string) preg_replace_callback(
68 68
             self::NORMALIZATION_REGEX,
69
-            static function (array $match): string {
69
+            static function(array $match): string {
70 70
                 /** @var array{0: string, 1?: string} $match */
71 71
                 return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
72 72
             },
Please login to merge, or discard this patch.
functions/server_request_files.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 {
48 48
     $files ??= $_FILES;
49 49
 
50
-    $walker = static function ($path, $size, $error, $name, $type) use (&$walker) {
50
+    $walker = static function($path, $size, $error, $name, $type) use (&$walker) {
51 51
         if (!is_array($path)) {
52 52
             // It makes no sense to create a stream
53 53
             // if the file has not been successfully uploaded.
Please login to merge, or discard this patch.