Skip to content

Commit e356ce2

Browse files
committed
Update selector for Sublime Text >= 4134
1 parent 4d819a5 commit e356ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Phpcs(ComposerLinter):
55
cmd = ('phpcs', '--report=emacs', '${args}', '-')
66
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
77
defaults = {
8-
'selector': 'source.php - text.blade, text.html.basic',
8+
'selector': 'embedding.php, source.php - text.blade',
99
# we want auto-substitution of the filename,
1010
# but `cmd` does not support that yet
1111
'--stdin-path=': '${file}'

0 commit comments

Comments
 (0)