Skip to content

Commit

Permalink
Update selector for Sublime Text >= 4134
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste committed Aug 12, 2022
1 parent 4d819a5 commit e356ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Phpcs(ComposerLinter):
cmd = ('phpcs', '--report=emacs', '${args}', '-')
regex = r'^.*:(?P<line>[0-9]+):(?P<col>[0-9]+): (?:(?P<error>error)|(?P<warning>warning)) - (?P<message>(.(?!\(\S+\)$))+)( \((?P<code>\S+)\)$)?' # noqa: E501
defaults = {
'selector': 'source.php - text.blade, text.html.basic',
'selector': 'embedding.php, source.php - text.blade',
# we want auto-substitution of the filename,
# but `cmd` does not support that yet
'--stdin-path=': '${file}'
Expand Down

0 comments on commit e356ce2

Please sign in to comment.