From 2cc59f03d30be3bc709515fd1fc8140522faec10 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Wed, 18 Mar 2026 07:31:42 +0100 Subject: [PATCH] regression-test-skill: add Adjust pull request description step analog https://github.com/phpstan-bot/phpstan-src/commit/60c52048c2f339127c9baca361b76b08bfb3e407 --- .claude/skills/regression-test/SKILL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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.