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

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