@@ -91,13 +91,13 @@ discard block |
||
| 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 |
||
| 188 | 188 | */ |
| 189 | 189 | public function getPath() |
| 190 | 190 | { |
| 191 | - $unencoded = array( |
|
| 191 | + $unencoded = array( |
|
| 192 | 192 | "/", |
| 193 | 193 | ":", |
| 194 | 194 | "@", |
@@ -232,7 +232,7 @@ discard block |
||
| 232 | 232 | */ |
| 233 | 233 | public function getQuery() |
| 234 | 234 | { |
| 235 | - $unencoded = array( |
|
| 235 | + $unencoded = array( |
|
| 236 | 236 | "/", |
| 237 | 237 | ":", |
| 238 | 238 | "@", |
@@ -466,7 +466,7 @@ discard block |
||
| 466 | 466 | $fragment_part = '(?:#(?P<fragment>.+))?'; |
| 467 | 467 | $reg_end = '/'; |
| 468 | 468 | |
| 469 | - $uri_syntax = $reg_start . $scheme_part . $scheme_separator . $hier_part . $query_part . $fragment_part . |
|
| 469 | + $uri_syntax = $reg_start.$scheme_part.$scheme_separator.$hier_part.$query_part.$fragment_part. |
|
| 470 | 470 | $reg_end; |
| 471 | 471 | |
| 472 | 472 | $uri_valid = preg_match($uri_syntax, $uri, $parts); |
@@ -495,7 +495,7 @@ discard block |
||
| 495 | 495 | $path_part = '(?P<path>.+)?'; |
| 496 | 496 | $reg_end = '/'; |
| 497 | 497 | |
| 498 | - $hier_part_syntax = $reg_start . $authority_part . $path_part . $reg_end; |
|
| 498 | + $hier_part_syntax = $reg_start.$authority_part.$path_part.$reg_end; |
|
| 499 | 499 | |
| 500 | 500 | preg_match($hier_part_syntax, $hier_part, $hier_parts); |
| 501 | 501 | |
@@ -526,7 +526,7 @@ discard block |
||
| 526 | 526 | $port_part = '(?::(?P<port>[0-9]+))?'; |
| 527 | 527 | $reg_end = '/'; |
| 528 | 528 | |
| 529 | - $authority_syntax = $reg_start . $user_info_part . $host_part . $port_part . $reg_end; |
|
| 529 | + $authority_syntax = $reg_start.$user_info_part.$host_part.$port_part.$reg_end; |
|
| 530 | 530 | |
| 531 | 531 | preg_match($authority_syntax, $authority, $authority_parts); |
| 532 | 532 | |