Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SublimeLinter: PHP linting not working

Tags:

PHP linting is not working in SublimeLinter though it says PHP: loaded in the console. I'm working on Windows. Additionally, there are no options if I open the Command Palette except for Extract Annotations. Did anyone have the same problem and knows the solution?

like image 411
Laura Avatar asked Aug 05 '12 14:08

Laura


1 Answers

Additionally, make sure you've given the path to php.exe in your user settings -

  • (prefs>pkg settings>sublimelinter>settings - user)

  • should look like this (if your path is "C:\xampp\php\php.exe"):

{ "sublimelinter": true, "sublimelinter_executable_map": { "php":"/xampp/php/php.exe" } }

like image 102
Joe Bergevin Avatar answered Oct 21 '22 06:10

Joe Bergevin