Contributions are welcome and will be fully credited.
- Document any change in behavior - Make sure the
README.mdand any other relevant documentation are kept up-to-date. - Create feature branches - Don't ask us to pull from your master branch.
- One pull request per feature - If you want to do more than one thing, send multiple pull requests.
- The PSR-2 Coding Standard is to be used for all code.
- PHPStan is used to help keep the code clean. At the moment, PHPStan level 5 is enforced.
- Use the following commands to check your code before committing it:
$ composer phpcs
$ composer phpstan- Add tests! - Your patch won't be accepted if it doesn't have tests.
- Use the following command to run the tests:
$ composer phpunitThe code quality is validated by GitHub Actions.
If you do not feel comfortable writing your own changes, feel free open up a new issue for to add a game or feature.