require direnv for project tools

This commit is contained in:
Yisroel Baum 2026-07-31 09:50:27 +03:00
parent ce1b920fb6
commit 116d1582f3
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
3 changed files with 74 additions and 32 deletions

View file

@ -92,7 +92,8 @@ pattern.
- Rebuild the development database with:
```sh
php artisan migrate:fresh --seed
direnv exec "$(git rev-parse --show-toplevel)" \
php artisan migrate:fresh --seed
```
- Once a production database exists, replace this policy with additive,
@ -101,7 +102,12 @@ pattern.
## Before completing backend work
- Run the focused test during development.
- Run `php artisan test` before completion.
- Run the full test suite before completion:
```sh
direnv exec "$(git rev-parse --show-toplevel)" php artisan test
```
- Run the Composer static-analysis scripts.
- Fix failures caused by the change. Report unrelated baseline failures
precisely rather than hiding them or expanding scope without authorization.