Contributions are most welcome!
- Write tests
- Check the code style
- Fork this library
- Check out the code:
git clone [email protected]:yourfork/trezor-protobuf && cd trezor-protobuf
- 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
- Optional: Run tests with coverage:
vendor/bin/phpunit --coverage-html=build
- Codestyle check:
- Check code coverage: build/index.html
- Commit your work:
git commit -am "adding new 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 ...