Passed
Push — master ( 3a81a0...1f469e )
by Julius
01:51
created
src/Extension/GithubLocationExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,13 +62,13 @@
 block discarded – undo
62 62
             $filePath = preg_replace('/^' . preg_quote($this->basePath, '/') . '/', '', $filePath);
63 63
             $lineNumber = $element->getLocation()->getLineNumber();
64 64
             $url = $this->getGithubLink($filePath, $lineNumber);
65
-            $builder->addFieldList('Source', '`' . $filePath. '#' . $lineNumber . ' <'.$url.'>`_');
65
+            $builder->addFieldList('Source', '`' . $filePath . '#' . $lineNumber . ' <' . $url . '>`_');
66 66
             $builder->addLine();
67 67
         }
68 68
     }
69 69
 
70
-    private function getGithubLink($file, $line=1, $branch='master') {
71
-        return $this->githubRepo . '/blob/'.$branch.'/'.$file.'#L' . $line;
70
+    private function getGithubLink($file, $line = 1, $branch = 'master') {
71
+        return $this->githubRepo . '/blob/' . $branch . '/' . $file . '#L' . $line;
72 72
     }
73 73
 
74 74
 }
75 75
\ No newline at end of file
Please login to merge, or discard this patch.