Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.48 KB

CONTRIBUTING.md

File metadata and controls

50 lines (35 loc) · 1.48 KB

Contributing to php-jwk

This is a very small library with a very limited scope but if you want to contribute please feel free to do so.

How can I contribute?

Reporting bugs

You can open a new issue once you have checked one covering your issue hasn't been opened yet.

Open a pull-request

If you want to fix a bug or add a missing feature you can open a new pull-request.

Please note that you need a PHP 7.3 or later for using this library (running the tests requires at least php 8.2).

Basic steps:

  1. Fork this repository
  2. Clone it locally
  3. Install dependencies with Composer
    $ composer install
  4. Create a branch on your fork
  5. Commit & push
  6. Open a pull-request from your branch
  7. Profit

Some guidelines:

  1. Before committing make sure to format the code accordingly:
    $ make php-cs-fixer-fix
  2. Also make sure the tests pass successfully and you have sufficient coverage
    $ make test-unit

Git Commit Messages

  • use conventional commits to make the commit messages more readable and to allow for automatic semantic versioning and changelog generation
  • Use the present tense ("add feature" not "added feature")
  • Use the imperative mood ("move cursor to..." not "moves cursor to...")
  • Limit the first line to 72 characters, or less

License

MIT