Skip to content

Instantly share code, notes, and snippets.

@arleslie
Created March 15, 2016 04:16
Show Gist options
  • Save arleslie/00559dd4713ce4a73a2f to your computer and use it in GitHub Desktop.
Save arleslie/00559dd4713ce4a73a2f to your computer and use it in GitHub Desktop.
SublimeLinter-PHP issues.
SublimeLinter: error in SublimeLinter daemon:
SublimeLinter: --------------------
SublimeLinter: Traceback (most recent call last):
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 57, in loop
item = self.q.get(block=True, timeout=self.MIN_DELAY)
File "./queue.py", line 175, in get
queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 65, in loop
self.lint(view_id, timestamp)
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\queue.py", line 111, in lint
self.callback(view_id, timestamp)
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\sublimelinter.py", line 119, in lint
Linter.lint_view(view, filename, code, hit_time, callback)
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 924, in lint_view
linter.lint(hit_time)
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1384, in lint
output = self.run(cmd, self.code)
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1786, in run
return self.tmpfile(cmd, code)
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\linter.py", line 1830, in tmpfile
env=self.env)
File "C:\Users\Andrew Leslie\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter\lint\util.py", line 1192, in tmpfile
else:
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'c:\\users\\andrew~1\\appdata\\local\\temp\\SublimeLinter3-Andrew Leslie\\PaymentGatewayController.php'
SublimeLinter: --------------------
SublimeLinter: daemon detected a reload
SublimeLinter: chdir not set or invalid, using G:\Sources\PHP\<redacted>\Controllers
SublimeLinter: php: PaymentGatewayController.php ['C:\\tools\\php\\php.exe', '-l', '-n', '-d', 'display_errors=On', '-d', 'log_errors=Off']
SublimeLinter: php output:
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting ']' in - on line 97
Errors parsing -
SublimeLinter: chdir not set or invalid, using G:\Sources\PHP\<redacted>\Controllers
SublimeLinter: phpcs: PaymentGatewayController.php ['C:\\tools\\pear\\phpcs.bat', '--report=checkstyle', '--standard=PSR2']
SublimeLinter: chdir not set or invalid, using G:\Sources\PHP\<redacted>\Controllers
SublimeLinter: jshint: PaymentGatewayController.php ['C:\\Users\\Andrew Leslie\\AppData\\Roaming\\npm\\jshint.cmd', '--verbose', '--filename', '@', '--extract=always', '-']
SublimeLinter: chdir not set or invalid, using G:\Sources\PHP\<redacted>\Controllers
SublimeLinter: php: PaymentGatewayController.php ['C:\\tools\\php\\php.exe', '-l', '-n', '-d', 'display_errors=On', '-d', 'log_errors=Off']
SublimeLinter: php output:
Parse error: syntax error, unexpected '}', expecting ']' in - on line 98
Errors parsing -
SublimeLinter: chdir not set or invalid, using G:\Sources\PHP\<redacted>\Controllers
SublimeLinter: phpcs: PaymentGatewayController.php ['C:\\tools\\pear\\phpcs.bat', '--report=checkstyle', '--standard=PSR2']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment