Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 972 Bytes

CONTRIBUTING.md

File metadata and controls

20 lines (14 loc) · 972 Bytes

Contributing

Contributions through Pull Requests are welcome and will be credited

Pull Requests

  • Follow PSR-2 coding standard
  • Unit test everything!
  • 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

Code Quality

Grunt tasks are provided to help you keep code quality

  • grunt will run PHP linting, PHP Code Sniffer for style guidelines, PHPMD for code smells and PHPCPD for copy/paste detection
  • grunt phpunit will run PHPUnit for unit tests
  • grunt all will run all previous commands at once