Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .claude/skills/regression-test/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,15 @@ If the test passes even with the fix reverted, the test is not correctly coverin

## Step 6 — Commit

Stage the new/modified test files and commit. The commit message must include `Closes https://github.com/phpstan/phpstan/issues/<number>` so the upstream issue is closed automatically.
Stage the new/modified test files and commit.

```bash
git add tests/
git commit -m "Add regression test for #<number>

Closes https://github.com/phpstan/phpstan/issues/<number>"
```

## Step 7 - Adjust pull request description

If you are submitting a pull request, append the PR description with a link to the issue with `Closes https://github.com/phpstan/phpstan/issues/<number>` so the upstream issue is closed automatically.
Loading