xref: /ext-ds/CONTRIBUTING.md (revision e79a7f01)
1# Contributing
2
3Contributions are accepted via [pull requests](https://github.com/php-ds/ext/pulls). If you would like to report a bug, please create an [issue](https://github.com/php-ds/ext/issues) instead.
4
5## Issues
6
7- **How to reproduce** - Provide an easy way to reproduce the bug. This makes it easier for others to debug.
8
9- **Platform details** - Specify your platform and your PHP version, eg. "PHP 7.0.2 on Ubuntu 14.04 64x".
10
11## Pull Requests
12
13- **Add tests** - Your patch won't be accepted if it doesn't have tests where appropriate.
14
15- **Document any change in behaviour** - Make sure the README and any other relevant documentation updated.
16
17- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.
18
19- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.
20
21- **Coding style** - Try to match the style of the rest of the source wherever possible. Your patch won't be accepted if the style is significantly different.
22