Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
DWS Coding Standard
branch: master

Merge pull request #78 from nubs/master

Integrate with coveralls.
latest commit 2a1788a901
Jonathan Gaillard authored
Failed to load latest commit information.
DWS
tests
.coveralls.yml
.gitignore
.travis.yml
LICENSE
README.md
build.php Integrate with coveralls.
composer.json Integrate with coveralls.
composer.lock
phpunit.xml
standard.md Add sniff to enforce indentation of multi-line arrays.

README.md

DWS Coding Standard

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
Something went wrong with that request. Please try again.