ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-phpcs

by SublimeLinter ST3 Trending

SublimeLinter plugin for PHP, using phpcs.

Details

Installs

  • Total 82K
  • Win 44K
  • Mac 22K
  • Linux 17K
Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24
Windows 20 21 25 23 23 24 21 19 17 21 17 10 11 15 15 22 10 19 14 11 28 23 23 26 24 22 25 23 21 19 29 18 12 12 17 15 25 24 15 9 13 15 20 15 17 13
Mac 1 11 14 5 5 5 12 8 10 8 4 6 4 5 7 6 6 7 5 3 6 4 7 6 6 3 0 4 5 9 3 2 6 1 6 9 15 5 13 6 7 6 2 6 9 3
Linux 8 5 7 5 6 6 7 1 1 4 4 2 3 7 4 6 6 10 7 3 6 5 6 5 8 4 13 4 4 4 3 5 4 4 8 2 5 7 6 2 3 3 4 8 11 8

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-phpcs

Build Status

This linter plugin for SublimeLinter provides an interface to phpcs. It will be used with files that have the “PHP”, “HTML” and “HTML5” syntax.

Installation

SublimeLinter 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.

Settings

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'"
    }
}