1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 13:54:03 +00:00

Fix CONTRIBUTING.md

This commit is contained in:
lukinovec 2023-02-20 10:25:51 +01:00
parent e0f3a595cc
commit 6da74fbf6d

View file

@ -24,4 +24,16 @@ To fix this, simply delete the database memory by shutting down containers and s
Run `composer docker-m1` to symlink `docker-compose-m1.override.yml` to `docker-compose.override.yml`. This will reconfigure a few services in the docker compose config to be compatible with M1.
to `docker-compose.override.yml` to make `docker-compose up -d` work on M1.
### Coverage reports
To run tests and generate coverage reports, use `composer test-full`.
To view the coverage reports in your browser, use `composer coverage` (works on macOS; on other operating systems you can manually open `coverage/phpunit/html/index.html` in your browser).
### Rebuilding containers
If you need to rebuild the container for any reason (e.g. a change in `Dockerfile`), you can use `composer docker-rebuild`.
## PHPStan
Use `composer phpstan` to run our phpstan suite.