GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SublimeLinter/SublimeLinter-phpcs: SublimeLinter plugin for PHP, using phpcs.

BranchesTags
Open more actions menu

Latest commit

 

History

74 Commits
74 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
messages
messages
 
 
.python-version
.python-version
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
linter.py
linter.py
 
 
messages.json
messages.json
 
 

Repository files navigation

SublimeLinter-phpcs

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/PHPCSStandards/PHP_CodeSniffer#installation.

Settings

  • SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
  • Linter settings: http://sublimelinter.com/en/latest/linter_settings.html

Use the "args" setting to configure the coding standard, if you've not done so via configuration file.

{
    "args": [
        "--standard=PEAR", // code standard
    ]
}

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

About

SublimeLinter plugin for PHP, using phpcs.

Resources

Readme
MIT license
Activity
Custom properties

Stars

72 stars

Watchers

4 watching

Forks

16 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.