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 76K
  • Win 40K
  • OS X 20K
  • Linux 16K
Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6
Windows 13 32 13 15 14 21 11 17 14 14 10 21 19 25 22 27 19 11 14 18 25 20 16 13 11 33 30 25 19 19 8 11 21 13 23 17 14 10 14 17 24 22 15 27 15 23
OS X 2 4 7 8 10 9 7 7 8 4 8 4 8 13 11 6 0 7 9 7 18 6 6 2 9 7 14 16 7 9 4 3 6 7 10 10 12 7 5 5 10 8 12 12 3 3
Linux 6 8 2 5 6 7 8 8 9 10 3 8 5 8 14 12 5 4 9 7 6 6 7 6 7 9 19 5 4 7 4 5 8 9 8 6 4 5 10 5 8 7 8 7 6 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'"
    }
}