Skip to content

Commit 0301557

Browse files
committed
Add ISSUE_TEMPLATE
Copied from php/php-src
1 parent 288f9cf commit 0301557

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Bug report
2+
description: Create a bug report
3+
labels: ["bug"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Description
8+
description: "Please provide a minimal way to reproduce the problem and describe what the expected vs actual behavior is."
9+
value: |
10+
The following code:
11+
12+
```php
13+
<?php
14+
```
15+
16+
Resulted in this output:
17+
```
18+
```
19+
20+
But I expected this output instead:
21+
```
22+
```
23+
validations:
24+
required: true
25+
- type: input
26+
attributes:
27+
label: php-memprof Version
28+
description: "The used php-memprof version (if installed from the repository, please specify the commit number)."
29+
placeholder: "php-memprof 3.0.1"
30+
validations:
31+
required: true
32+
- type: input
33+
attributes:
34+
label: PHP Version
35+
description: "The used PHP version."
36+
validations:
37+
required: true
38+
- type: input
39+
attributes:
40+
label: Operating System
41+
description: "The used operating system."
42+
placeholder: "Ubuntu 20.04"
43+
validations:
44+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Feature request
2+
description: Create a feature request
3+
labels: ["enhancement"]
4+
body:
5+
- type: textarea
6+
attributes:
7+
label: Description
8+
description: "Please describe the requested feature and why it should be included in php-memprof."
9+
validations:
10+
required: true

0 commit comments

Comments
 (0)