Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.34 KB

CONTRIBUTING.md

File metadata and controls

64 lines (42 loc) · 1.34 KB

Contributing

Contributions are welcome and will be fully credited.

Pull Requests

  • PSR-12 Coding Standard - The easiest way to apply the conventions is to run composer format.

  • Add tests! - Your patch won't be accepted if it doesn't have tests.

  • Document any change in behaviour - Make sure the README.md and 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.

  • Send coherent history - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.

Development Setup

  1. Fork and clone the repository

  2. Install dependencies:

    composer install
  3. Run the test suite:

    composer test
  4. Run static analysis:

    composer analyse
  5. Fix code style:

    composer format

Running Tests

composer test

Static Analysis

This project uses PHPStan for static analysis:

composer analyse

Code Style

This project uses Laravel Pint for code formatting:

composer format

Happy coding!