Completed
Push — 1.0 ( 5bcb16...e7f44c )
by David
02:12
created
src/Commands/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@
 block discarded – undo
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, '/');
Please login to merge, or discard this patch.