Skip to content

Commit e3eecbb

Browse files
authored
Added bug report template
1 parent 802a514 commit e3eecbb

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Code sample**
14+
```php
15+
echo "A short code snippet that can be used to reproduce the bug";
16+
```
17+
18+
**Custom ruleset**
19+
```xml
20+
<?xml version="1.0"?>
21+
<ruleset name="My Custom Standard">
22+
<description>If you are using a custom ruleset, please enter it here.</description>
23+
</ruleset>
24+
```
25+
26+
**To reproduce**
27+
Steps to reproduce the behavior:
28+
1. Create a file called `test.php` with the code sample above...
29+
2. Run `phpcs test.php ...`
30+
3. See error message displayed
31+
```
32+
PHPCS output here
33+
```
34+
35+
**Expected behavior**
36+
A clear and concise description of what you expected to happen.
37+
38+
**Versions (please complete the following information):**
39+
- OS: [e.g., Windows 10, MacOS 10.15]
40+
- PHP: [e.g., 7.2, 7.4]
41+
- PHPCS: [e.g., 3.5.5, master]
42+
- Standard: [e.g., PSR2, PSR12, Squiz]
43+
44+
**Additional context**
45+
Add any other context about the problem here.

0 commit comments

Comments
 (0)