Skip to content

Commit

Permalink
Added documentation to CONTRIBUTING.md for using PHP Code Sniffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Wheeler committed Jan 12, 2014
1 parent 480fb3a commit 3ad2b9b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -4,6 +4,13 @@

We use the [PSR2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) standard.

[PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) is included as a Composer development requirement in order to help developers achieve PSR-2 compliance in any contributed code.

### Running PHP CodeSniffer

- Install PHP CodeSniffer by running composer with development requirements (`composer install --dev`).
- Execute `vendor/bin/phpcs --standard=psr2 src/Petrinet/*` from the project root directory

## Unit tests

### Visualizing test cases
Expand Down

0 comments on commit 3ad2b9b

Please sign in to comment.