Passed
Pull Request — master (#31)
by Anatoly
39:16
created
src/Uri/Component/Fragment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             throw new InvalidUriComponentException('URI component "fragment" must be a string');
65 65
         }
66 66
 
67
-        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function (array $match): string {
67
+        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function(array $match): string {
68 68
             /** @var array{0: string, 1?: string} $match */
69 69
 
70 70
             return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
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
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             throw new InvalidUriComponentException('URI component "password" must be a string');
65 65
         }
66 66
 
67
-        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function (array $match): string {
67
+        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function(array $match): string {
68 68
             /** @var array{0: string, 1?: string} $match */
69 69
 
70 70
             return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
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
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             throw new InvalidUriComponentException('URI component "host" must be a string');
66 66
         }
67 67
 
68
-        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function (array $match): string {
68
+        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function(array $match): string {
69 69
             /** @var array{0: string, 1?: string} $match */
70 70
 
71 71
             return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
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
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             throw new InvalidUriComponentException('URI component "path" must be a string');
65 65
         }
66 66
 
67
-        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function (array $match): string {
67
+        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function(array $match): string {
68 68
             /** @var array{0: string, 1?: string} $match */
69 69
 
70 70
             return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
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
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             throw new InvalidUriComponentException('URI component "query" must be a string');
65 65
         }
66 66
 
67
-        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function (array $match): string {
67
+        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function(array $match): string {
68 68
             /** @var array{0: string, 1?: string} $match */
69 69
 
70 70
             return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
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
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             throw new InvalidUriComponentException('URI component "user" must be a string');
65 65
         }
66 66
 
67
-        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function (array $match): string {
67
+        $this->value = preg_replace_callback(self::NORMALIZATION_REGEX, function(array $match): string {
68 68
             /** @var array{0: string, 1?: string} $match */
69 69
 
70 70
             return isset($match[1]) ? rawurlencode($match[1]) : $match[0];
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
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 {
46 46
     $files ??= $_FILES;
47 47
 
48
-    $walker = function (
48
+    $walker = function(
49 49
         $path,
50 50
         $size,
51 51
         $error,
Please login to merge, or discard this patch.