@@ -125,13 +125,13 @@ discard block |
||
125 | 125 | $normalized_authority = $this->uri_parts["host"]; |
126 | 126 | |
127 | 127 | if (!empty($this->uri_parts["user_info"])) { |
128 | - $normalized_authority = $this->uri_parts["user_info"] . "@" . $normalized_authority; |
|
128 | + $normalized_authority = $this->uri_parts["user_info"]."@".$normalized_authority; |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | $normalized_port = $this->normalizePort(); |
132 | 132 | |
133 | 133 | if (!is_null($normalized_port)) { |
134 | - $normalized_authority = $normalized_authority . ":" . $normalized_port; |
|
134 | + $normalized_authority = $normalized_authority.":".$normalized_port; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | return $normalized_authority; |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | public function getPath() |
224 | 224 | { |
225 | 225 | $path_unencoded = array("/"); |
226 | - $allowed = implode($this->pchar_unencoded) . implode($this->sub_delims) . implode($path_unencoded); |
|
226 | + $allowed = implode($this->pchar_unencoded).implode($this->sub_delims).implode($path_unencoded); |
|
227 | 227 | |
228 | 228 | if ($this->containsUnallowedUriCharacters($this->uri_parts["path"], $allowed)) { |
229 | 229 | $encoded_string = $this->encodeComponent($this->uri_parts["path"], $path_unencoded); |
@@ -544,7 +544,7 @@ discard block |
||
544 | 544 | $fragment_part = '(?:#(?P<fragment>.*))?'; |
545 | 545 | $reg_end = '/'; |
546 | 546 | |
547 | - $uri_syntax = $reg_start . $scheme_part . $hier_part . $query_part . $fragment_part . $reg_end; |
|
547 | + $uri_syntax = $reg_start.$scheme_part.$hier_part.$query_part.$fragment_part.$reg_end; |
|
548 | 548 | |
549 | 549 | $uri_valid = preg_match($uri_syntax, $uri, $parts); |
550 | 550 | |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | $path_part = '(?P<path>.+)?'; |
577 | 577 | $reg_end = '/'; |
578 | 578 | |
579 | - $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end; |
|
579 | + $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end; |
|
580 | 580 | |
581 | 581 | preg_match($hier_part_syntax, $hier_part, $hier_parts); |
582 | 582 | |
@@ -607,7 +607,7 @@ discard block |
||
607 | 607 | $port_part = '(?::(?P<port>[0-9]+))?'; |
608 | 608 | $reg_end = '/'; |
609 | 609 | |
610 | - $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end; |
|
610 | + $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end; |
|
611 | 611 | |
612 | 612 | preg_match($authority_syntax, $authority, $authority_parts); |
613 | 613 | |
@@ -710,7 +710,7 @@ discard block |
||
710 | 710 | $authority_string = ""; |
711 | 711 | |
712 | 712 | if (!empty($authority)) { |
713 | - $authority_string .= "//" . $authority; |
|
713 | + $authority_string .= "//".$authority; |
|
714 | 714 | } |
715 | 715 | |
716 | 716 | return $authority_string; |
@@ -737,7 +737,7 @@ discard block |
||
737 | 737 | $path_string .= $collapsed_slashes; |
738 | 738 | } elseif (!empty($path)) { |
739 | 739 | if (!$path_string_helper->startsWith("/")) { |
740 | - $path_string .= "/" . $path; |
|
740 | + $path_string .= "/".$path; |
|
741 | 741 | } else { |
742 | 742 | $path_string .= $path; |
743 | 743 | } |