Skip to content

Commit

Permalink
better forms
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Feb 7, 2025
1 parent 2ac3ab4 commit 5f5d38a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 36 deletions.
26 changes: 8 additions & 18 deletions .github/ISSUE_TEMPLATE/incorrect_function.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Broken Function
title: "Broken Function: "
description: If Safe is generating a wrapper for a PHP function, but the wrapper doesn't work
labels: ["broken function"]
body:
Expand All @@ -8,29 +9,18 @@ body:
label: Function URL
description: Link to the function in the PHP documentation
placeholder: https://www.php.net/bzopen
- type: dropdown
- type: input
id: php_version
attributes:
label: PHP Version
multiple: true
options:
- 8.4
- 8.3
- 8.2
- 8.1
- Other
default: 0
- type: dropdown
placeholder: 8.4, nightly, etc
- type: input
id: safe_version
attributes:
label: Safe Version
options:
- 3.X
- 2.X
- dev-master
- Other
default: 0
- type: markdown
placeholder: 3.0.0-alpha1, 2.5.0, dev-master, etc
- type: textarea
id: description
attributes:
value: What is the code doing now? What should it do instead?
label: Description
description: What is the code doing now? What should it do instead?
26 changes: 8 additions & 18 deletions .github/ISSUE_TEMPLATE/missing_function.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Missing Function
title: "Missing Function: "
description: If there's a function in the PHP Standard Library which you believe should have a Safe wrapper
labels: ["missing function"]
body:
Expand All @@ -8,29 +9,18 @@ body:
label: Function URL
description: Link to the function in the PHP documentation
placeholder: https://www.php.net/bzopen
- type: dropdown
- type: input
id: php_version
attributes:
label: PHP Version
multiple: true
options:
- 8.4
- 8.3
- 8.2
- 8.1
- Other
default: 0
- type: dropdown
placeholder: 8.4, nightly, etc
- type: input
id: safe_version
attributes:
label: Safe Version
options:
- 3.X
- 2.X
- dev-master
- Other
default: 0
- type: markdown
placeholder: 3.0.0-alpha1, 2.5.0, dev-master, etc
- type: textarea
id: extra
attributes:
value: Any additional information which might be relevant
label: Extra Info
description: Any additional information which might be relevant

0 comments on commit 5f5d38a

Please sign in to comment.