- Devbox (Nix-based development environment)
git clone https://github.com/mlavrinenko/domovoy.git
cd domovoy
devbox shell
composer installAll commands are run via Just inside devbox shell:
just # list available recipes
just qa # full QA cycle: lint + test + coverage gate
just lint # php-cs-fixer + phpstan + rector (in parallel)
just format # auto-fix code style
just test # run PHPUnit tests
just generate # download W3C specs + regenerate code| Tool | Configuration |
|---|---|
| PHPStan | max level + strict-rules + deprecation-rules |
| php-cs-fixer | PSR-12 |
| Rector | PHP 8.4 + DeadCode + CodeQuality + TypeDeclaration + EarlyReturn + Privatization |
| PHPUnit | 12.x, coverage gate 85% |
- Run
just qaand ensure it passes. - Follow conventional commits for commit messages.