Skip to content

Commit

Permalink
Merge pull request #4 from kfiku/master
Browse files Browse the repository at this point in the history
Fix linter, make it backwords compatibility
  • Loading branch information
Rockstar04 authored Sep 17, 2018
2 parents f2172a1 + 5f486fd commit 0908fe9
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 @@ -3,7 +3,7 @@

class PhpStan(Linter):
cmd = 'phpstan', 'analyse', '--errorFormat=raw', '--no-progress', '${args}', '${file}'
regex = r'^.*:(?P<line>[0-9]+):(?P<message>.+)'
regex = r'^(?!Note: ).*:(?P<line>[0-9]+):(?P<message>.+)'
default_type = 'error'
multiline = False
tempfile_suffix = '-'
Expand Down

0 comments on commit 0908fe9

Please sign in to comment.