Skip to content

Commit 6c7e40b

Browse files
committed
QA/Markdown CS: code block consistency
* No long lines within code blocks. Rationale: to prevent a horizontal scrollbar. * All codeblocks should specify the language.
1 parent 83de5be commit 6c7e40b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ A clear and concise description of what the bug is.
2424

2525
### Code sample
2626
```php
27-
echo "A short code snippet that can be used to reproduce the bug. Do NOT paste screenshots of code!";
27+
echo 'A short code snippet that can be used to reproduce the bug.';
28+
echo 'Do NOT paste screenshots of code!";
2829
```
2930

3031
### Custom ruleset
@@ -40,7 +41,7 @@ Steps to reproduce the behavior:
4041
1. Create a file called `test.php` with the code sample above...
4142
2. Run `phpcs test.php ...`
4243
3. See error message displayed
43-
```
44+
```text
4445
PHPCS output here
4546
```
4647

0 commit comments

Comments
 (0)