Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 2.05 KB

CONTRIBUTING.md

File metadata and controls

62 lines (43 loc) · 2.05 KB

CONTRIBUTING

PRs are welcome, all branches should follow the process laid out on this page.

Process

  1. Install the project if you haven't done so already
  2. Create a new branch
  3. Code! :)
  4. Test the changes
    • See the testing docs for info on one-time set-up & advanced use cases
  5. Commit, push & open a pull request detailing your changes, inline with the guidance below

Guidelines

The following guidelines should be observed for all pull requests.

  • Send a coherent commit history, making sure each individual commit in your pull request is meaningful.
  • You may need to rebase to avoid merge conflicts, or tidy up the history.

Code Standard Checks

Each of the following commands must complete without errors for a PR to be considered for merging. If any command fails, all commands should be re-run in turn following any action necessary to resolve the reported issues.

Run the project's linters with:

$ npm run lint
# > lint...

Run the project's static analysis tests with:

$ composer test:types
# > ./vendor/bin/phpstan analyse...

Run the tests configured in the project's PHPUnit config with:

$ php artisan test
# PASS  Tests\Unit\App\...

Run the browser tests configured in the project's PHPUnit Dusk config with:

$ php artisan dusk
# DevTools listening on...

See the testing docs for first time set-up instructions & more info on running the project's tests.


Prev Next
<<< Project CLI Commands <<< ........................... ................................... >>> Running Tests >>>