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 79K
  • Win 42K
  • OS X 21K
  • Linux 16K
Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29
Windows 2 19 13 20 26 11 9 23 21 21 18 24 15 17 25 25 29 17 15 8 15 17 26 34 27 18 14 15 27 23 16 29 33 16 7 25 22 20 14 18 8 18 15 22 27 22
OS X 1 12 7 12 6 4 5 5 4 8 14 17 4 2 3 7 8 9 9 4 6 4 5 14 11 15 5 9 10 16 9 10 6 5 2 8 9 7 8 10 9 3 9 12 10 12
Linux 2 4 9 2 9 3 3 5 5 4 5 6 3 2 2 8 4 5 9 3 1 9 2 9 7 5 5 4 7 10 2 2 3 5 1 7 4 6 5 2 4 3 3 6 5 3

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