Completed
Push — master ( a59df7...fcae40 )
by Derek
02:07
created
src/Anshar/Utils/StringHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function affectChunks(callable $function, ...$delimiters)
34 34
     {
35 35
         $delimiter_string = "";
36
-        $replace_callback = function ($matches) use ($function) {
36
+        $replace_callback = function($matches) use ($function) {
37 37
 
38 38
             $callback_string = $function($matches[0]);
39 39
 
Please login to merge, or discard this patch.
src/Anshar/Http/Uri.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -91,13 +91,13 @@  discard block
 block discarded – undo
91 91
         $normalized_authority = $this->uri_parts["host"];
92 92
 
93 93
         if (!empty($this->uri_parts["user_info"])) {
94
-            $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority;
94
+            $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority;
95 95
         }
96 96
 
97 97
         $normalized_port = $this->normalizePort();
98 98
 
99 99
         if (!is_null($normalized_port)) {
100
-            $normalized_authority = $normalized_authority . ":" . $normalized_port;
100
+            $normalized_authority = $normalized_authority.":".$normalized_port;
101 101
         }
102 102
 
103 103
         return $normalized_authority;
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      */
189 189
     public function getPath()
190 190
     {
191
-        $unencoded      = array(
191
+        $unencoded = array(
192 192
             "/",
193 193
             ":",
194 194
             "@",
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
         $fragment_part    = '(?:#(?P<fragment>.+))?';
447 447
         $reg_end          = '/';
448 448
 
449
-        $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part .
449
+        $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part.
450 450
             $reg_end;
451 451
 
452 452
         $uri_valid = preg_match($uri_syntax, $uri, $parts);
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
         $path_part      = '(?P<path>.+)?';
476 476
         $reg_end        = '/';
477 477
 
478
-        $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end;
478
+        $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end;
479 479
 
480 480
         preg_match($hier_part_syntax, $hier_part, $hier_parts);
481 481
 
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
         $port_part      = '(?::(?P<port>[0-9]+))?';
507 507
         $reg_end        = '/';
508 508
 
509
-        $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end;
509
+        $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end;
510 510
 
511 511
         preg_match($authority_syntax, $authority, $authority_parts);
512 512
 
Please login to merge, or discard this patch.