| name | code-review |
|---|---|
| description | Use when reviewing or preparing a PR — tests, style, SemVer, docs, and branch rules for this repository. |
- Authoring a pull request into this repo
- Reviewing someone else’s PR for completeness and repo policy
- Tests: New or changed behavior has PHPUnit coverage;
composer testpasses. - Style:
composer check-stylepasses (PSR-2 via PHPCS). - Docs: User-visible behavior changes reflected in
README.mdor other maintainer-facing docs as appropriate. - API / SemVer: Public signatures and documented behavior follow semantic versioning expectations per
CONTRIBUTING.md. - Branch policy: PRs targeting
mastermust come from thenextbranch per.github/workflows/check-branch.yml; confirm with the team if process changes. - Commits: Prefer coherent history; squash noisy WIP commits when requested.
- Blocker: Breaks tests, CI, or documented security/policy requirements.
- Major: Missing tests for non-trivial logic, public API breakage without version strategy, or policy violations (e.g. wrong base branch).
- Minor: Style nits, naming, or internal refactors with no contract change.