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

Sublime​Linter-phpcs

by SublimeLinter ST3 Trending

SublimeLinter plugin for PHP, using phpcs.

Details

Installs

  • Total 64K
  • Win 33K
  • OS X 17K
  • Linux 13K
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 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
Windows 14 50 46 27 19 26 32 47 28 26 39 10 17 29 31 55 33 39 15 37 30 41 32 27 35 16 18 30 46 42 36 22 15 25 34 34 42 57 42 24 20 30 13 38 36 40
OS X 16 23 21 17 9 5 12 10 20 13 5 4 5 20 21 20 13 21 8 4 14 19 14 20 8 5 11 20 8 20 19 11 3 7 15 14 12 12 8 5 6 13 5 24 21 18
Linux 8 22 19 14 7 12 12 9 12 14 20 6 8 15 15 9 10 20 4 5 13 17 7 16 14 3 7 8 17 13 14 11 3 5 6 13 11 14 12 7 6 15 8 14 11 18

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:

{
    "SublimeLinter": {
        "linters": {
            "phpcs": {
                "standard": "${folder}/phpcs.xml"
            }
        }
    }
}