First ol all thank you for contributing!
Make your contributions through Pull Requests
Find here a few rules to follow in order to keep the code clean and easy to reviews and merge:
- Follow PSR-2 coding standard
- Unit test everything and run the test suite
- Try not to bring code coverage down
- Keep documentation updated
- Just one pull request per feature at a time
- Check that Travis CI build passed
Grunt tasks are provided to help you keep code quality and run the test suite
grunt check
will run PHP linting, PHP Code Sniffer for style guidelines, PHPMD for code smells and PHPCPD for copy/paste detectiongrunt test
will run PHPUnit for unit testsgrunt
will run previous commands at once