Contributions are most welcome, and the more eyes on the code the better.
- Write tests - pull requests should come with full coverage
- Check the code style
- Fork this library
- Check out the code:
git clone [email protected]:yourfork/trezor-bridge-client && cd trezor-bridge-client
- Start your own branch:
git checkout -b your-feature-branch
- Check your work:
- Codestyle check:
make phpcs
- Codestyle fixer:
make phpcbf
- Run tests:
vendor/bin/phpunit
- Run tests with coverage:
vendor/bin/phpunit --coverage-html=build
- Codestyle check:
- Check code coverage: build/index.html
- Commit your work:
git commit -am "describe your feature!"
- Push your work:
git push origin your-feature-branch
- And open a pull request!
Please GPG sign your commits if possible: git commit -S ...