docs: explain how to enable the pre-commit hook
Tests / PHP 8.4 (push) Failing after 2m32s

This commit is contained in:
dgarcia committed 2026-11-15 11:08:34 -03:00
1 parent fb6ac985fe
commit abdcc8b04e
1 file changed
+8
+8
View File
@@ -50,6 +50,14 @@ composer check # fmt:check -> lint -> analyze -> phpstan -> test
`composer check` must be green before anything is merged, and the steps run in that order. `composer check` must be green before anything is merged, and the steps run in that order.
The same gate runs on every commit once the hook is enabled per clone:
```bash
git config core.hooksPath .githooks
```
Use `git commit --no-verify` to bypass it for a single commit.
## License ## License
MIT. See [LICENSE](LICENSE). MIT. See [LICENSE](LICENSE).