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

Sublime​Linter-phpcs

by SublimeLinter ST3

SublimeLinter plugin for PHP, using phpcs.

Details

Installs

  • Total 71K
  • Win 38K
  • OS X 19K
  • Linux 15K
Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7
Windows 5 22 18 37 19 16 27 26 24 24 25 25 19 15 23 32 29 24 18 13 19 26 23 23 33 19 10 15 30 41 26 19 13 22 21 13 33 36 17 2 0 1 28 35 40 37
OS X 2 9 9 9 3 5 17 15 12 18 6 6 3 8 9 11 7 9 11 9 11 10 14 9 9 8 3 5 7 12 8 17 7 6 11 18 13 14 13 4 0 0 19 17 7 14
Linux 1 8 3 7 4 10 8 7 9 9 6 5 8 5 11 11 8 9 3 3 7 11 9 10 5 2 7 6 23 11 6 7 7 12 5 7 9 7 11 4 0 0 9 7 16 16

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