Skip to content

Commit

Permalink
[docs] add contribution doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
makasim committed Jan 3, 2017
1 parent ddf6275 commit 192637a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
29 changes: 29 additions & 0 deletions docs/contribution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Contribution

To contribute you have to fork a [enqueue-dev](https://github.com/php-enqueue/enqueue-dev) repository.
Clone it locally.

## Setup environment

```
composer install
./bin/pre-commit -i
./bin/dev -b
```

Once you did it you can work on a feature or bug fix.

## Testing

To run tests simply run

```
./bin/dev -t
```

## Commit

When you try to commit changes `php-cs-fixer` is run. It fixes all coding style issues. Dont forget to stage them and commit everything.
Once everything is done open a pull request on official repository.

[back to index](index.md)
5 changes: 4 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@
- [Consumption extension](bundle/consumption_extension.md)
- [Production settings](bundle/production_settings.md)
- [Debuging](bundle/debuging.md)
- [Functional testing](bundle/functional_testing.md)
- [Functional testing](bundle/functional_testing.md)
* Development
- [Contribution](contribution.md)

0 comments on commit 192637a

Please sign in to comment.