Contributing

Contributions are welcome and will be fully credited.

We accept contributions via Pull Requests on Github.

Pull Requests

  • PSR-2 Coding Standard - The easiest way to apply the conventions is to install PHP Code Sniffer.

  • Add tests - Your patch likely will not be accepted if it doesn't have tests.

  • Create feature branches - Don't ask us to pull from your master branch.

  • One pull request per feature or fix - If you want to do more than one thing, send multiple pull requests.

  • 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. We follow the advice of Chris Beams on How to write good commit messages.

Running Tests

$ vendor/bin/phpunit

Linting against PSR2 Coding Standards

$ vendor/bin/phpcs --standard=PSR2 ./src

Last updated