This linter plugin for SublimeLinter provides an interface to phpcs. It will be used with files that have the "PHP", "HTML" and "HTML5" syntax.
InstallationSublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before using this plugin, ensure that phpcs
is installed on your system, preferably somewhere in your PATH. To install phpcs
, follow the instructions on https://github.com/squizlabs/PHP_CodeSniffer#installation.
Use the "args"
setting to configure the coding standard, if you've not done so via configuration file.
{ "args": [ "--standard=PEAR", // code standard ] }Per-project Standards
You can set up your project settings to use a specific standard using the following:
{ "settings": { "SublimeLinter.linters.phpcs.args": "--standard='${folder}/phpcs.xml'" } }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4