@@ -18,23 +18,23 @@ Please report bugs for externally maintained sniffs to the appropriate external
18
18
standard repository (not here).
19
19
-->
20
20
21
- ** Describe the bug**
21
+ ## Describe the bug
22
22
A clear and concise description of what the bug is.
23
23
24
- ** Code sample**
24
+ ### Code sample
25
25
``` php
26
- echo "A short code snippet that can be used to reproduce the bug";
26
+ echo "A short code snippet that can be used to reproduce the bug. Do NOT paste screenshots of code! ";
27
27
```
28
28
29
- ** Custom ruleset**
29
+ ### Custom ruleset
30
30
``` xml
31
31
<?xml version =" 1.0" ?>
32
32
<ruleset name =" My Custom Standard" >
33
33
<description >If you are using a custom ruleset, please enter it here.</description >
34
34
</ruleset >
35
35
```
36
36
37
- ** To reproduce**
37
+ ### To reproduce
38
38
Steps to reproduce the behavior:
39
39
1 . Create a file called ` test.php ` with the code sample above...
40
40
2 . Run ` phpcs test.php ... `
@@ -43,14 +43,24 @@ Steps to reproduce the behavior:
43
43
PHPCS output here
44
44
```
45
45
46
- ** Expected behavior**
46
+ ## Expected behavior
47
47
A clear and concise description of what you expected to happen.
48
48
49
- ** Versions (please complete the following information):**
50
- - OS: [ e.g., Windows 10, MacOS 10.15]
51
- - PHP: [ e.g., 7.2, 7.4]
52
- - PHPCS: [ e.g., 3.5.5, master]
53
- - Standard: [ e.g., PSR2, PSR12, Squiz]
49
+ ## Versions (please complete the following information)
54
50
55
- ** Additional context**
51
+ | | |
52
+ | -------------------------| ------------------------------------------------------------------------------|
53
+ | Operating System | [ e.g., Windows 10, MacOS 10.15] |
54
+ | PHP version | [ e.g., 7.2, 7.4] |
55
+ | PHP_CodeSniffer version | [ e.g., 3.5.5, master] |
56
+ | Standard | [ e.g., PSR2, PSR12, Squiz, custom] |
57
+ | Install type | [ e.g. Composer (global/local), PHAR, PEAR, git clone, other (please expand)] |
58
+
59
+ ## Additional context
56
60
Add any other context about the problem here.
61
+
62
+ ## Please confirm:
63
+
64
+ - [ ] I have searched the issue list and am not opening a duplicate issue.
65
+ - [ ] I confirm that this bug is a bug in PHP_CodeSniffer and not in one of the external standards.
66
+ - [ ] I have verified the issue still exists in the ` master ` branch of PHP_CodeSniffer.
0 commit comments