Skip to content
Merged
Show file tree
Hide file tree
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
55 changes: 55 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Bug report
description: Something doesn't work the way the docs say it should
labels: ["bug"]
body:
- type: input
id: package-version
attributes:
label: Package version
description: The exact version (or commit) you installed, e.g. `2.1.0` or `dev-master@abc1234`
placeholder: "2.1.0"
validations:
required: true

- type: input
id: php-version
attributes:
label: PHP version
placeholder: "8.3.12"
validations:
required: true

- type: textarea
id: expected
attributes:
label: What you expected to happen
validations:
required: true

- type: textarea
id: actual
attributes:
label: What actually happened
description: Full error message / stack trace if there is one
validations:
required: true

- type: textarea
id: repro
attributes:
label: Minimal reproduction
description: >
A short script or code snippet that reproduces the problem from a
clean install. Issues without a reproduction are much harder to act
on and may be closed if one can't be worked out together.
render: php
validations:
required: true

- type: textarea
id: context
attributes:
label: Anything else
description: Relevant config, related packages and their versions, etc.
validations:
required: false
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Feature request
description: Something you need this package to do that it doesn't yet
labels: ["enhancement"]
body:
- type: textarea
id: problem
attributes:
label: What are you trying to do
description: >
Describe the task, not the API you imagine solving it. The concrete
problem is what makes a good design possible.
validations:
required: true

- type: textarea
id: current
attributes:
label: Why the current API doesn't cover it
description: What you tried, and where it fell short or forced a workaround.
validations:
required: true

- type: textarea
id: proposal
attributes:
label: Proposed API (optional)
description: A sketch of the method/class signature you'd expect, if you have one.
render: php
validations:
required: false

- type: dropdown
id: pr
attributes:
label: Would you be willing to open a PR for this?
options:
- "Yes"
- "No"
- "Maybe, with some guidance"
validations:
required: true
Loading