This linter plugin for SublimeLinter provides an interface to phplint. It will be used with files that have the "PHP", "HTML", or "HTML 5" syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before installing this plugin, ensure that phplint
(2.0 or later) is installed on your system.
To install phplint
, download and run the appropriate installer from the download page. On Mac OS X, the best option is to install Homebrew and then enter the following in a terminal:
brew install phplint
If installation via brew
fails, see this page for possible solutions.
Please make sure that the path to phplint
is available to SublimeLinter.
The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html