Files
php-qrcode/.github/ISSUE_TEMPLATE/01-bug-report.yml
T
2025-04-01 12:25:58 +02:00

68 lines
2.7 KiB
YAML

# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: "Bug report"
description: "You've found a bug? Does the library not behave as expected?"
title: "[BUG] "
labels: ["bug"]
body:
- type: markdown
attributes:
value: "### Please read before posting an issue!\nYou've found a bug? Does the library not behave as expected?\nPlease help us to improve this project and fill out the following form.\nIf you are unsure whether it is a bug, or you have a question or an issue that is not a bug, please go to [the discussions section](../discussions) instead.\n**Also, please check first if a similar issue/discussion already exists. Thanks!\n(usual suspects are [\"Output module X does not work\"](https://github.com/chillerlan/php-qrcode/discussions/241#discussioncomment-8461662), which is documented [in the README](https://github.com/chillerlan/php-qrcode?tab=readme-ov-file#documentation))**"
- type: textarea
validations:
required: true
attributes:
label: "Issue description"
description: "Please describe the bug or unexpected behaviour, add screenshots to help explain the problem if applicable."
placeholder: "A clear and concise description of the issue"
- type: textarea
validations:
required: true
attributes:
label: "Expected behavior"
description: "Please describe what you expected to happen or how the library should behave in this case."
placeholder: "A clear and concise description of what you expected to happen"
- type: textarea
validations:
required: false
attributes:
label: "Code sample"
description: "If applicable, please add a code sample that reproduces the issue.\nNote: the content of this textarea will be rendered as PHP code!"
placeholder: "PHP code"
render: php
- type: dropdown
id: version
validations:
required: true
attributes:
label: "Library version"
description: "What version of the library are you running?"
options:
- "latest"
- "dev-main"
- "6.x"
- "5.x"
- "4.x"
- "3.x"
- "2.x"
- "1.x"
default: 0
- type: textarea
validations:
required: false
attributes:
label: "Additional context"
description: "Add any other context that might be of use here, e.g. exact library version, PHP Version, operating system, other code snippets..."
- type: markdown
attributes:
value: "Thanks for taking the time to fill out this issue report!"