diff --git a/.claude/skills/regression-test/SKILL.md b/.claude/skills/regression-test/SKILL.md index ad878d13f9..95d4381365 100644 --- a/.claude/skills/regression-test/SKILL.md +++ b/.claude/skills/regression-test/SKILL.md @@ -189,7 +189,7 @@ 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/` so the upstream issue is closed automatically. +Stage the new/modified test files and commit. ```bash git add tests/ @@ -197,3 +197,7 @@ git commit -m "Add regression test for # Closes https://github.com/phpstan/phpstan/issues/" ``` + +## 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/` so the upstream issue is closed automatically.