Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 688 Bytes

CONTRIBUTING.md

File metadata and controls

20 lines (15 loc) · 688 Bytes

Contributing Guidelines

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Ensure your code is nicely formatted in the PSR-2 style and that all tests pass.
  • Send the pull request.
  • Check that the Travis CI build passed. If not, rinse and repeat.

Running tests

Mysql

mysql -e "create database IF NOT EXISTS spot_test;" -uroot;

Postgres

psql -c 'create database spot_test;' -U postgres;

phpunit

script: phpunit --configuration phpunit_mysql.xml --coverage-text