2017 © Pedro Peláez
 

library coding-standard

Kdyby Coding Style

image

kdyby/coding-standard

Kdyby Coding Style

  • Monday, May 22, 2017
  • by fprochazka
  • Repository
  • 2 Watchers
  • 1 Stars
  • 2,416 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Coding Standard

Build Status Downloads this Month Latest stable Coverage Status, (*1)

Variation of Slevomat Coding Standard and Consistence Coding Standard of PHPCodeSniffer coding style rules., (*2)

Installation

Install the kdyby/coding-standard with Composer:, (*3)

composer require --dev kdyby/coding-standard

Usage

There is a standard for PHP 7.1+, (*4)

vendor/bin/phpcs --standard=vendor/kdyby/coding-standard/KdybyCodingStandard/ruleset-7.1.xml --encoding=utf-8 -sp src tests

Customization

To allow customization, just include the ruleset-7.1.xml standard in you project's ruleset.xml, (*5)


<ruleset name="My Project">
    <rule ref="vendor/kdyby/coding-standard/KdybyCodingStandard/ruleset-7.1.xml"/>

    <!-- custom settings -->
</ruleset>

The Versions

22/05 2017

dev-master

9999999-dev http://kdyby.org

Kdyby Coding Style

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

phpcs codesniffer standard coding cs coding standard sniffer ruleset phpcodesniffer