We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7790bb7 + 601304c commit aef2077Copy full SHA for aef2077
engine.php
@@ -42,7 +42,7 @@
42
'description' => $phpcs_issue_data['message'],
43
'categories' => array('Style'),
44
'location' => array(
45
- 'path' => str_replace('/code/', '', $phpcs_file),
+ 'path' => preg_replace('/^\/code\//', '', $phpcs_file),
46
'lines' => array(
47
'begin' => $phpcs_issue_data['line'],
48
'end' => $phpcs_issue_data['line']
0 commit comments