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

Sublime​Linter-phpcs

by SublimeLinter ST3

SublimeLinter plugin for PHP, using phpcs.

Details

  • 2.3.1
  • github.​com
  • github.​com
  • 10 months ago
  • 50 minutes ago
  • 6 years ago

Installs

  • Total 80K
  • Win 43K
  • Mac 21K
  • Linux 16K
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 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11
Windows 1 14 17 13 11 16 13 13 18 18 20 21 25 9 23 28 23 17 14 16 10 6 9 16 10 13 12 12 11 14 19 7 14 12 13 13 20 21 19 16 16 9 18 20 19 13
Mac 1 10 11 5 4 8 2 5 6 10 4 8 8 5 4 11 8 11 8 10 2 9 11 7 6 1 4 3 4 7 0 6 2 11 8 2 8 8 6 8 10 2 3 9 12 7
Linux 0 6 6 11 4 4 5 6 6 6 10 10 10 4 4 6 8 8 10 9 5 4 6 2 4 2 10 2 1 5 2 3 5 6 3 6 6 15 8 7 8 3 2 12 4 9

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