There is a boilerplate/starter that can be used to quickly spin up a local environment for easy contribution to Drupal Core or contrib modules.
It can be enabled locally by:
Clone the repository:
git clone email@example.com:docksal/drupal8-contrib.git core
Initialize the project:
This will clone Drupal core into the
docroot directory. From there, patches
can quickly be made for contribution.
PHPUnit can be run locally:
fin phpunit core/path/to/directory/or/file