2017 © Pedro Peláez
 

library isotopcs

Isotop WordPress Coding Standard

image

isotopsweden/isotopcs

Isotop WordPress Coding Standard

  • Tuesday, May 15, 2018
  • by fredrikforsmo
  • Repository
  • 3 Watchers
  • 3 Stars
  • 3,840 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Isotop WordPress Coding Standard

The coding standard used for WordPress sites., (*1)

Installation

Standalone

Standards are provided as a Composer package and can be installed with:, (*2)

composer create-project isotopsweden/isotopcs:dev-master

Composer will automatically install dependencies, register standards paths, and set default PHP Code Sniffer standard to Isotop., (*3)

As dependency

You should update minimum-stability to dev and set prefer-stable to true., (*4)

{
  "minimum-stability": "dev",
  "prefer-stable": true
}

Then you can install isotopcs as a dependency., (*5)

composer require isotopsweden/isotopcs:dev-master --dev

Command line

vendor/bin/phpcs --extensions=php /path/to/folder/

Editors

Atom

Use linter-phpcs., (*6)

Sublime

{
  "phpcs_executable_path": "/path/to/isotopcs/vendor/bin/phpcs",
  "phpcs_additional_args": {
    "--standard": "Isotop"
  }
}

PhpStorm

Refer to Using PHP Code Sniffer Tool in PhpStorm documentation., (*7)

After installation Isotop standard will be available as a choice in PHP Code Sniffer Validation inspection., (*8)

The Versions

15/05 2018

dev-master

9999999-dev

Isotop WordPress Coding Standard

  Sources   Download

MIT

The Requires

 

wordpress phpcs standards