@@ -48,9 +48,9 @@ |
||
48 | 48 | throw new \RuntimeException('Could not find the Gitlab URL in the "CI_BUILD_REPO" environment variable (usually set by Gitlab CI). Either set this environment variable or pass the URL via the --gitlab-url command line option.'); |
49 | 49 | } |
50 | 50 | $parsed_url = parse_url($ciProjectUrl); |
51 | - $scheme = isset($parsed_url['scheme']) ? $parsed_url['scheme'] . '://' : ''; |
|
51 | + $scheme = isset($parsed_url['scheme']) ? $parsed_url['scheme'].'://' : ''; |
|
52 | 52 | $host = isset($parsed_url['host']) ? $parsed_url['host'] : ''; |
53 | - $port = isset($parsed_url['port']) ? ':' . $parsed_url['port'] : ''; |
|
53 | + $port = isset($parsed_url['port']) ? ':'.$parsed_url['port'] : ''; |
|
54 | 54 | $gitlabUrl = $scheme.$host.$port; |
55 | 55 | } |
56 | 56 | return rtrim($gitlabUrl, '/'); |