Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/traderinteractive/dws-coding-standard
DWS Coding Standard
https://github.com/traderinteractive/dws-coding-standard
Last synced: 1 day ago
JSON representation
DWS Coding Standard
- Host: GitHub
- URL: https://github.com/traderinteractive/dws-coding-standard
- Owner: traderinteractive
- License: mit
- Created: 2012-04-27T17:54:26.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-12-21T10:06:12.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T20:20:12.018Z (29 days ago)
- Language: PHP
- Size: 159 KB
- Stars: 8
- Watchers: 12
- Forks: 11
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# DWS Coding Standard
[![Build Status](https://travis-ci.org/traderinteractive/dws-coding-standard.svg?branch=master)](https://travis-ci.org/traderinteractive/dws-coding-standard)
[![Coverage Status](https://coveralls.io/repos/github/traderinteractive/dws-coding-standard/badge.svg)](https://coveralls.io/github/traderinteractive/dws-coding-standard)[![Latest Stable Version](https://poser.pugx.org/traderinteractive/coding-standard/v/stable)](https://packagist.org/packages/traderinteractive/coding-standard)
[![Latest Unstable Version](https://poser.pugx.org/traderinteractive/coding-standard/v/unstable)](https://packagist.org/packages/traderinteractive/coding-standard)
[![License](https://poser.pugx.org/traderinteractive/coding-standard/license)](https://packagist.org/packages/traderinteractive/coding-standard)[![Total Downloads](https://poser.pugx.org/traderinteractive/coding-standard/downloads)](https://packagist.org/packages/traderinteractive/coding-standard)
[![Daily Downloads](https://poser.pugx.org/traderinteractive/coding-standard/d/daily)](https://packagist.org/packages/traderinteractive/coding-standard)
[![Monthly Downloads](https://poser.pugx.org/traderinteractive/coding-standard/d/monthly)](https://packagist.org/packages/traderinteractive/coding-standard)A fairly complete [PHP_CodeSniffer](http://www.squizlabs.com/php-codesniffer) coding standard. See the [standard document](standard.md) to
see what "sniffs" are enforced.## Composer
This standard is meant to be used in a project using [Composer](http://getcomposer.org). It can be added to your project's composer.json as follows:
```sh
composer require traderinteractive/coding-standard
```Then to use it, you can run the following (or add to your build process):
```bash
./vendor/bin/phpcs --standard=$(pwd)/vendor/traderinteractive/coding-standard/DWS YOUR_FILES_AND_DIRECTORIES
```## Contact
Developers may be contacted at:
* [Pull Requests](https://github.com/traderinteractive/dws-coding-standard/pulls)
* [Issues](https://github.com/traderinteractive/dws-coding-standard/issues)## Tests
Tests for the sniffs are included, and are run using the included build:
```bash
./vendor/bin/phpunit
```