Contributing

January 26, 2019 ยท View on GitHub

First of all, thank you for contributing, you are awesome!

Here are a few rules to follow in order to ease code reviews, and discussions before maintainers accept and merge your work.

You MUST follow the code style as per phpcs.xml.dist file (it is a modified version of the doctrine/coding-standard v5.0 rules). You can check the code violations by running bin/phpcs and you can fix most of the eventual issues automatically by running bin/phpcbf.

You MUST run the test suite.

You MUST write (or update) unit tests.

You SHOULD write documentation.

Please, write commit messages that make sense, and rebase your branch before submitting your Pull Request.

One may ask you to squash your commits too. This is used to "clean" your Pull Request before merging it (we don't want commits such as fix tests, fix 2, fix 3, etc.).

Thank you!