Updating the PHP Code Sniffer UI plugin to fix the line number link.
This commit is contained in:
parent
c02795988c
commit
091a025eb5
|
@ -49,7 +49,7 @@ var phpcsPlugin = PHPCI.UiPlugin.extend({
|
|||
|
||||
if (PHPCI.fileLinkTemplate) {
|
||||
var fileLink = PHPCI.fileLinkTemplate.replace('{FILE}', file);
|
||||
fileLink = fileLink.replace('{LINE}', errors[i].line_start);
|
||||
fileLink = fileLink.replace('{LINE}', errors[i].line);
|
||||
|
||||
file = '<a target="_blank" href="'+fileLink+'">' + file + '</a>';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue