2017 © Pedro PelĂĄez
 

coding-standard thanpa-coding-standard

CodeSniffer ruleset for the Thanpa coding standard

image

thanpa/thanpa-coding-standard

CodeSniffer ruleset for the Thanpa coding standard

  • Tuesday, February 16, 2016
  • by thanpa
  • Repository
  • 1 Watchers
  • 0 Stars
  • 327 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Thanpa PHP CodeSniffer Coding Standard

A coding standard to check against the Thanpa coding standard., (*1)

Installation

Composer

This standard can be installed with the Composer dependency manager., (*2)

  1. Install Composer, (*3)

  2. Install the coding standard as a dependency of your project, (*4)

    composer require --dev thanpa/thanpa-coding-standard:~1.0
  3. Add the coding standard to the PHP_CodeSniffer install path, (*5)

    bin/phpcs --config-set installed_paths vendor/thanpa/thanpa-coding-standard
  4. Check the installed coding standard for "Thanpa", (*6)

    bin/phpcs -i
  5. Done!, (*7)

    bin/phpcs /path/to/code

 Stand-alone

  1. Install PHP_CodeSniffer, (*8)

  2. Checkout this repository, (*9)

    git clone git://github.com/thanpa/thanpa-coding-standard.git thanpa/thanpa-coding-standard
  3. Add the coding standard to the PHP_CodeSniffer install path, (*10)

    phpcs --config-set installed_paths thanpa/thanpa-coding-standard

    Or copy/symlink this repository's "Thanpa"-folder inside the phpcs Standards directory, (*11)

  4. Check the installed coding standard for "Thanpa", (*12)

    phpcs -i
  5. Done!, (*13)

    phpcs /path/to/code

The Versions

16/02 2016

dev-master

9999999-dev https://github.com/thanpa/thanpa-coding-standard

CodeSniffer ruleset for the Thanpa coding standard

  Sources   Download

MIT

The Requires

 

by Thanasis Papapanagiotou

phpcs coding standard thanpa