Skip to content

Commit

Permalink
first pass at documenting codesniffer commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Roberts committed Jul 10, 2017
1 parent 1f253d3 commit 1a792e8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
By contributing to this project, you agree to irrevocably release your contributions under the same licenses as this project. See README.md for more details.



Coding Standards
-----

PHP CodeSniffer is used to normalize all code in this project.
Please install it with
```bash
pear install PHP_CodeSniffer
```

You can then test your code with
```bash
phpcs --standard=ruleset.xml *.php
```
Or you can have it autofix whatever it can with
```bash
phpcbf --standard=ruleset.xml *.php
```

0 comments on commit 1a792e8

Please sign in to comment.