Author: Luffy (sy-records)
Date: 2025-08-15T19:06:08+08:00

Commit: 
https://github.com/php/web-php/commit/8facbc725e0c11e79d3d3a54dad0794bc1242638
Raw diff: 
https://github.com/php/web-php/commit/8facbc725e0c11e79d3d3a54dad0794bc1242638.diff

Add bug report issue template

Changed paths:
  A  .github/ISSUE_TEMPLATE/bug-report.yml


Diff:

diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml 
b/.github/ISSUE_TEMPLATE/bug-report.yml
new file mode 100644
index 0000000000..7b02f5b63e
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -0,0 +1,63 @@
+name: "Bug Report"
+description: "Report a bug to help us improve"
+labels: ["Bug", "Status: Needs Triage"]
+assignees: []
+
+body:
+  - type: markdown
+    attributes:
+      value: |
+        Thanks for taking the time to fill out this bug report!
+        Please provide as much detail as possible.
+
+  - type: input
+    id: page_url
+    attributes:
+      label: Affected Page URL
+      description: The exact page address where the bug occurs
+      placeholder: e.g. https://www.php.net/manual/en/function.date.php
+    validations:
+      required: true
+
+  - type: textarea
+    id: bug_description
+    attributes:
+      label: "Describe the bug"
+      description: "A clear and concise description of what the bug is."
+      placeholder: "Describe the issue here..."
+    validations:
+      required: true
+
+  - type: textarea
+    id: steps_to_reproduce
+    attributes:
+      label: "Steps to reproduce"
+      description: "Explain how to reproduce the behavior."
+      placeholder: |
+        1. Go to '...'
+        2. Click on '....'
+        3. Scroll down to '....'
+        4. See error
+    validations:
+      required: true
+
+  - type: textarea
+    id: expected_behavior
+    attributes:
+      label: "Expected behavior"
+      description: "What did you expect to happen?"
+      placeholder: "A clear and concise description..."
+    validations:
+      required: true
+
+  - type: textarea
+    id: screenshots
+    attributes:
+      label: "Screenshots"
+      description: "If applicable, add screenshots to help explain your 
problem."
+
+  - type: textarea
+    id: additional_context
+    attributes:
+      label: "Additional context"
+      description: "Add any other context about the problem here."

Reply via email to