We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d662386 + ab39b71 commit 8610a2cCopy full SHA for 8610a2c
1 file changed
linter.py
@@ -21,7 +21,6 @@ class PHP(Linter):
21
r'^(?:Parse|Fatal) (?P<error>error):(\s*(?P<type>parse|syntax) error,?)?\s*'
22
r'(?P<message>(?:unexpected \'(?P<near>[^\']+)\')?.*) (?:in - )?on line (?P<line>\d+)'
23
)
24
- executable = 'php'
25
error_stream = util.STREAM_STDOUT
26
27
def split_match(self, match):
@@ -41,7 +40,7 @@ def cmd(self):
41
40
if 'cmd' in settings:
42
command = [settings.get('cmd')]
43
else:
44
- command = [self.executable_path]
+ command = ['php']
45
46
command.append('-l')
47
command.append('-n')
0 commit comments