dominionenterprises/dws-coding-standard

DWS Coding standard

Installs: 3 158

Dependents: 5

Stars: 7

Watchers: 7

Forks: 8

Open Issues: 13

Language: PHP

v1.4.0 2014-01-06 14:45 UTC

README

Build Status Code Coverage

A fairly complete PHP_CodeSniffer coding standard. See the standard document to see what "sniffs" are enforced.

Composer

This standard is meant to be used in a project using Composer. It can be added to your project's composer.json as follows:

{
    "require-dev": {
        "dominionenterprises/dws-coding-standard": "~1.0"
    }
}

Then to use it, you can run the following (or add to your build process):

./vendor/bin/phpcs --standard=$(pwd)/vendor/dominionenterprises/dws-coding-standard/DWS YOUR_FILES_AND_DIRECTORIES

Contact

Developers may be contacted at:

Tests

Tests for the sniffs are included, and are run using the included build:

./build.php