Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 997 Bytes

CONTRIBUTING.md

File metadata and controls

37 lines (23 loc) · 997 Bytes

Contributing

Thank you for considering to contribute to this project.

Tests

All new features or bug fixes should include supporting tests. To run the test suite you need to first install the dependencies using composer:

$ composer install

Then the tests can be run using the following command:

$ phpunit

This will also check for the PSR-2 Coding Standard compliance.

Travis

Once you have submitted a pull request, Travis CI will automatically run the tests. The tests must pass for the PR to be accepted.

Coding Standard

Please stick PSR-1 and PSR-2 standards - this will be verified by Travis CI:

Also, keep the code tidy and well refactored - don't let methods get too long or there be too many levels of indentation.

Happy coding and thank you for contributing.