01-bug-report.yml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
  2. # https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
  3. name: "Bug report"
  4. description: "You've found a bug? Does the library not behave as expected?"
  5. title: "[BUG] "
  6. labels: ["bug"]
  7. body:
  8. - type: markdown
  9. attributes:
  10. 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))**"
  11. - type: textarea
  12. validations:
  13. required: true
  14. attributes:
  15. label: "Issue description"
  16. description: "Please describe the bug or unexpected behaviour, add screenshots to help explain the problem if applicable."
  17. placeholder: "A clear and concise description of the issue"
  18. - type: textarea
  19. validations:
  20. required: true
  21. attributes:
  22. label: "Expected behavior"
  23. description: "Please describe what you expected to happen or how the library should behave in this case."
  24. placeholder: "A clear and concise description of what you expected to happen"
  25. - type: textarea
  26. validations:
  27. required: false
  28. attributes:
  29. label: "Code sample"
  30. description: "If applicable, please add a code sample that reproduces the issue.\nNote: the content of this textarea will be rendered as PHP code!"
  31. placeholder: "PHP code"
  32. render: php
  33. - type: dropdown
  34. id: version
  35. validations:
  36. required: true
  37. attributes:
  38. label: "Library version"
  39. description: "What version of the library are you running?"
  40. options:
  41. - "latest"
  42. - "dev-main"
  43. - "6.x"
  44. - "5.x"
  45. - "4.x"
  46. - "3.x"
  47. - "2.x"
  48. - "1.x"
  49. default: 0
  50. - type: textarea
  51. validations:
  52. required: false
  53. attributes:
  54. label: "Additional context"
  55. description: "Add any other context that might be of use here, e.g. exact library version, PHP Version, operating system, other code snippets..."
  56. - type: markdown
  57. attributes:
  58. value: "Thanks for taking the time to fill out this issue report!"